#912EBA#912EBA
#912EBA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.213 H 313.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #912EBA |
|---|---|
| RGB | rgb(145, 46, 186) |
| HSL | hsl(282, 60%, 45%) |
| HSV | hsv(282, 75%, 73%) |
| CMYK | cmyk(22%, 75.3%, 0%, 27.1%) |
| CIE-LAB | lab(40.44, 61.44, -54.41) |
| CIE-LCH | lch(40.44, 82.07, 318.47°) |
| OKLab | oklab(51.4% 0.1469 -0.1537) |
| OKLCH | oklch(51.4% 0.213 313.7) |
| XYZ | xyz(21.5154, 11.5196, 47.5350) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.10
Purply
#983FB2
ΔE00 4.00
Darkviolet
#9400D3
ΔE00 4.38
Barney
#AC1DB8
ΔE00 4.94
Vibrant Purple
#AD03DE
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912EBA #57BA2E
analogous
#4B2EBA #912EBA #BA2E9D
triadic
#912EBA #BA912E #2EBA91
tetradic
#912EBA #BA4B2E #57BA2E #2E9DBA
square
#912EBA #BA4B2E #57BA2E #2E9DBA
split-complementary
#912EBA #9DBA2E #2EBA4B
monochromatic
#441658 #6B2289 #912EBA #AE51D4 #C582E0
Accessibility & contrast
On white
6.36
#912EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#912EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912EBA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912EBA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2162B7
Tritanopia (blue-blind)
#8D4E72
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #912eba; /* rgb */ color: rgb(145, 46, 186); /* oklch */ color: oklch(51.4% 0.213 313.7);
Tailwind
colors: {
custom: {
50: '#b671cf',
500: '#912eba',
950: '#000000',
},
}SCSS
$custom: #912eba; $custom-light: #b671cf; $custom-dark: #000000;
JSON
{
"hex": "#912eba",
"rgb": {
"r": 145,
"g": 46,
"b": 186
},
"hsl": {
"h": 282.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.514,
"c": 0.2126,
"h": 313.7
},
"luminance": 0.11519
}Semantic roles & 50–950 ramp
primary
#912EBA
secondary
#92C97B
accent
#E34473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82