#912EAB#912EAB
#912EAB is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.199 H 318.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #912EAB |
|---|---|
| RGB | rgb(145, 46, 171) |
| HSL | hsl(288, 58%, 43%) |
| HSV | hsv(288, 73%, 67%) |
| CMYK | cmyk(15.2%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(39.44, 58.46, -47.15) |
| CIE-LCH | lch(39.44, 75.10, 321.11°) |
| OKLab | oklab(50.37% 0.1488 -0.1324) |
| OKLCH | oklch(50.37% 0.199 318.3) |
| XYZ | xyz(20.0037, 10.9149, 39.5733) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.76
Barney
#AC1DB8
ΔE00 4.68
Purple (survey)
#7E1E9C
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.25
Barney Purple
#A00498
ΔE00 5.52
Warm Purple
#952E8F
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912EAB #48AB2E
analogous
#522EAB #912EAB #AB2E87
triadic
#912EAB #AB912E #2EAB91
tetradic
#912EAB #AB522E #48AB2E #2E87AB
square
#912EAB #AB522E #48AB2E #2E87AB
split-complementary
#912EAB #87AB2E #2EAB52
monochromatic
#3F144B #68217B #912EAB #B248CE #C679DB
Accessibility & contrast
On white
6.60
#912EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#912EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912EAB
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912EAB | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#90476A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #912eab; /* rgb */ color: rgb(145, 46, 171); /* oklch */ color: oklch(50.4% 0.199 318.3);
Tailwind
colors: {
custom: {
50: '#b571c5',
500: '#912eab',
950: '#000000',
},
}SCSS
$custom: #912eab; $custom-light: #b571c5; $custom-dark: #000000;
JSON
{
"hex": "#912eab",
"rgb": {
"r": 145,
"g": 46,
"b": 171
},
"hsl": {
"h": 287.52,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50367,
"c": 0.19914,
"h": 318.3
},
"luminance": 0.10914
}Semantic roles & 50–950 ramp
primary
#912EAB
secondary
#83C372
accent
#E14767
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82