#912399#912399
#912399 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.196 H 325.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #912399 |
|---|---|
| RGB | rgb(145, 35, 153) |
| HSL | hsl(296, 63%, 37%) |
| HSV | hsv(296, 77%, 60%) |
| CMYK | cmyk(5.2%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(36.97, 58.95, -40.27) |
| CIE-LCH | lch(36.97, 71.39, 325.66°) |
| OKLab | oklab(48.25% 0.1604 -0.1122) |
| OKLCH | oklch(48.25% 0.196 325) |
| XYZ | xyz(18.0274, 9.5229, 31.0194) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.98
Warm Purple
#952E8F
ΔE00 3.22
Darkmagenta
#8B008B
ΔE00 3.89
Purple (survey)
#7E1E9C
ΔE00 4.40
Purple
#800080
ΔE00 5.98
Barney
#AC1DB8
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912399 #2B9923
analogous
#562399 #912399 #992366
triadic
#912399 #999123 #239991
tetradic
#912399 #995623 #2B9923 #236699
square
#912399 #995623 #2B9923 #236699
split-complementary
#912399 #669923 #239956
monochromatic
#330C35 #621867 #912399 #C02ECB #D15DDA
Accessibility & contrast
On white
7.23
#912399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#912399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912399
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912399 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#94395D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #912399; /* rgb */ color: rgb(145, 35, 153); /* oklch */ color: oklch(48.3% 0.196 325.0);
Tailwind
colors: {
custom: {
50: '#b56bb7',
500: '#912399',
950: '#000000',
},
}SCSS
$custom: #912399; $custom-light: #b56bb7; $custom-dark: #000000;
JSON
{
"hex": "#912399",
"rgb": {
"r": 145,
"g": 35,
"b": 153
},
"hsl": {
"h": 295.932,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.48251,
"c": 0.19573,
"h": 325
},
"luminance": 0.09522
}Semantic roles & 50–950 ramp
primary
#912399
secondary
#60BE59
accent
#E6424D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80