Purple2
purple2 · #912CEE
HEX
#912CEE
RGB
rgb(145, 44, 238)
CMYK
cmyk(39%, 82%, 0%, 7%)
HSL
hsl(271, 85%, 55%)
LAB
lab(44.2, 73.1, -78.2)
What is Purple2?
Purple2 is the purple2 reference in the X11 named colors. Its sRGB value is #912CEE (rgb 145, 44, 238). It sits in the purple family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Purple2 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Purple2
An 11-step tonal scale derived from Purple2 (#912CEE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F6EEFE
#F6EEFE
100
#EDDDFC
#EDDDFC
200
#DCBBFA
#DCBBFA
300
#C896F7
#C896F7
400
#AD61F2
#AD61F2
500
#912CEE
#912CEE
600
#7B25CA
#7B25CA
700
#5E1D9B
#5E1D9B
800
#41146B
#41146B
900
#240B3C
#240B3C
950
#11051D
#11051D
Lighter tints (mixed with white)
15%
#A873F1
30%
#BB99F3
45%
#CCB5F6
60%
#DCCDF8
75%
#EAE1FB
Darker shades (mixed with black)
15%
#8728DD
30%
#7B24CB
45%
#6E1FB6
60%
#5F1A9E
75%
#4B137F
Color harmonies for Purple2
Classic color-theory harmonies derived from rotating the hue of Purple2. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#912CEE
#912CEE
#89EE2B
#89EE2B
Triadic
Three colors 120° apart
#912CEE
#912CEE
#EE902B
#EE902B
#2BEE90
#2BEE90
Analogous
Two neighbors ±30° on the wheel
#2E2BEE
#2E2BEE
#912CEE
#912CEE
#EE2BEB
#EE2BEB
Split-complementary
Base + two colors flanking its complement
#912CEE
#912CEE
#EBEE2B
#EBEE2B
#2BEE2E
#2BEE2E
Tetradic
Two complementary pairs
#912CEE
#912CEE
#EE2B89
#EE2B89
#89EE2B
#89EE2B
#2BEE90
#2BEE90
Square
Four colors evenly spaced 90° apart
#912CEE
#912CEE
#EE2E2B
#EE2E2B
#89EE2B
#89EE2B
#2BEBEE
#2BEBEE
Purple2 in every color space
Full conversion of Purple2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#912CEE
RGB
rgb(145, 44, 238)
CMYK
cmyk(39%, 82%, 0%, 7%)
HSL
hsl(271, 85%, 55%)
HSV
hsv(271, 82%, 93%)
HWB
hwb(271 17% 7%)
CIE Lab
lab(44.2 73.1 -78.2)
OKLCH
oklch(55.3% 0.262 301.3)
XYZ (D65)
xyz(28.01, 13.99, 82.10)
Copy-ready code for Purple2
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #912CEE;
background-color: #912CEE;CSS variable
:root {
--color-purple2: #912CEE;
}Tailwind config
// tailwind.config.js
colors: {
'purple2': '#912CEE',
}Sass
$color-purple2: #912CEE;Swift UIColor
UIColor(red: 0.569, green: 0.173, blue: 0.933, alpha: 1.0)Android XML
<color name="purple2">#912CEE</color>Closest match in every color system
The nearest Purple2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in X11 named colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7000
#7E8B92
Squirrel grey
RAL 4005
#6C4675
Blue lilac
RAL 4008
#924E7D
Signal violet
RAL 5014
#606E8C
Pigeon blue
RAL 4006
#A03472
Traffic purple
RAL 5023
#49678D
Distant blue
FAQ about Purple2
What is the HEX code for Purple2?
Purple2 (purple2) has the HEX code #912CEE. In RGB it is rgb(145, 44, 238), and in CMYK it is cmyk(39%, 82%, 0%, 7%).
What is the OKLCH value of Purple2?
Purple2 converts to oklch(0.553 0.262 301.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Purple2 accessible for body text?
Used as a background, Purple2 has a contrast ratio of 3.80:1 with black text and 5.53:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.
What is the closest Pantone to Purple2?
The closest Pantone reference to Purple2 by ΔE2000 perceptual distance is Pantone 254 C (#9B26B6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Purple2?
The closest RAL Classic reference to Purple2 by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Purple2?
The complementary color (180° opposite on the HSL color wheel) of Purple2 is #89EE2B. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
X11 named colors (xorg rgb.txt)
The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.
- Source type
- derived
- Confidence
- high
- License
- MIT/X11 license (X Consortium)
- Last reviewed
- 2026-05-24
Workflow tags
X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.