#912199#912199
#912199 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 325.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #912199 |
|---|---|
| RGB | rgb(145, 33, 153) |
| HSL | hsl(296, 65%, 36%) |
| HSV | hsv(296, 78%, 60%) |
| CMYK | cmyk(5.2%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(36.76, 59.56, -40.61) |
| CIE-LCH | lch(36.76, 72.09, 325.71°) |
| OKLab | oklab(48.1% 0.1621 -0.1132) |
| OKLCH | oklch(48.1% 0.198 325.1) |
| XYZ | xyz(17.9702, 9.4086, 31.0003) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.91
Warm Purple
#952E8F
ΔE00 3.39
Darkmagenta
#8B008B
ΔE00 3.69
Purple (survey)
#7E1E9C
ΔE00 4.28
Purple
#800080
ΔE00 5.82
Barney
#AC1DB8
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912199 #299921
analogous
#552199 #912199 #992165
triadic
#912199 #999121 #219991
tetradic
#912199 #995521 #299921 #216599
square
#912199 #995521 #299921 #216599
split-complementary
#912199 #659921 #219955
monochromatic
#320B34 #611667 #912199 #C12CCB #D359DB
Accessibility & contrast
On white
7.29
#912199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#912199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912199
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912199 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#94385D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #912199; /* rgb */ color: rgb(145, 33, 153); /* oklch */ color: oklch(48.1% 0.198 325.1);
Tailwind
colors: {
custom: {
50: '#b56ab7',
500: '#912199',
950: '#000000',
},
}SCSS
$custom: #912199; $custom-light: #b56ab7; $custom-dark: #000000;
JSON
{
"hex": "#912199",
"rgb": {
"r": 145,
"g": 33,
"b": 153
},
"hsl": {
"h": 296,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.481,
"c": 0.19768,
"h": 325.1
},
"luminance": 0.09407
}Semantic roles & 50–950 ramp
primary
#912199
secondary
#5DBF56
accent
#E8404B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80