#912799#912799
#912799 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 324.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #912799 |
|---|---|
| RGB | rgb(145, 39, 153) |
| HSL | hsl(296, 59%, 38%) |
| HSV | hsv(296, 75%, 60%) |
| CMYK | cmyk(5.2%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(37.43, 57.64, -39.54) |
| CIE-LCH | lch(37.43, 69.89, 325.55°) |
| OKLab | oklab(48.58% 0.1568 -0.1101) |
| OKLCH | oklch(48.58% 0.192 324.9) |
| XYZ | xyz(18.1519, 9.7719, 31.0609) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.90
Barney Purple
#A00498
ΔE00 3.17
Darkmagenta
#8B008B
ΔE00 4.32
Purple (survey)
#7E1E9C
ΔE00 4.68
Purply
#983FB2
ΔE00 6.05
Barney
#AC1DB8
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912799 #2F9927
analogous
#582799 #912799 #992768
triadic
#912799 #999127 #279991
tetradic
#912799 #995827 #2F9927 #276899
square
#912799 #995827 #2F9927 #276899
split-complementary
#912799 #689927 #279958
monochromatic
#350E37 #631B68 #912799 #BF33CA #CF63D7
Accessibility & contrast
On white
7.11
#912799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#912799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912799
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912799 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#943B5E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #912799; /* rgb */ color: rgb(145, 39, 153); /* oklch */ color: oklch(48.6% 0.192 324.9);
Tailwind
colors: {
custom: {
50: '#b56db7',
500: '#912799',
950: '#000000',
},
}SCSS
$custom: #912799; $custom-light: #b56db7; $custom-dark: #000000;
JSON
{
"hex": "#912799",
"rgb": {
"r": 145,
"g": 39,
"b": 153
},
"hsl": {
"h": 295.789,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.48577,
"c": 0.19155,
"h": 324.9
},
"luminance": 0.09771
}Semantic roles & 50–950 ramp
primary
#912799
secondary
#65BD5F
accent
#E34550
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80