#912EAA#912EAA
#912EAA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 318.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #912EAA |
|---|---|
| RGB | rgb(145, 46, 170) |
| HSL | hsl(288, 57%, 42%) |
| HSV | hsv(288, 73%, 67%) |
| CMYK | cmyk(14.7%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(39.37, 58.27, -46.66) |
| CIE-LCH | lch(39.37, 74.65, 321.32°) |
| OKLab | oklab(50.3% 0.1489 -0.1309) |
| OKLCH | oklch(50.3% 0.198 318.7) |
| XYZ | xyz(19.9088, 10.8769, 39.0732) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.80
Barney
#AC1DB8
ΔE00 4.71
Purple (survey)
#7E1E9C
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.41
Warm Purple
#952E8F
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912EAA #47AA2E
analogous
#532EAA #912EAA #AA2E85
triadic
#912EAA #AA912E #2EAA91
tetradic
#912EAA #AA532E #47AA2E #2E85AA
square
#912EAA #AA532E #47AA2E #2E85AA
split-complementary
#912EAA #85AA2E #2EAA53
monochromatic
#3F144A #68217A #912EAA #B248CD #C778DA
Accessibility & contrast
On white
6.61
#912EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#912EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912EAA
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912EAA | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#914769
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #912eaa; /* rgb */ color: rgb(145, 46, 170); /* oklch */ color: oklch(50.3% 0.198 318.7);
Tailwind
colors: {
custom: {
50: '#b571c4',
500: '#912eaa',
950: '#000000',
},
}SCSS
$custom: #912eaa; $custom-light: #b571c4; $custom-dark: #000000;
JSON
{
"hex": "#912eaa",
"rgb": {
"r": 145,
"g": 46,
"b": 170
},
"hsl": {
"h": 287.903,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.50301,
"c": 0.19825,
"h": 318.7
},
"luminance": 0.10876
}Semantic roles & 50–950 ramp
primary
#912EAA
secondary
#82C371
accent
#E14766
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82