#902199#902199
#902199 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.197 H 324.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #902199 |
|---|---|
| RGB | rgb(144, 33, 153) |
| HSL | hsl(296, 65%, 36%) |
| HSV | hsv(296, 78%, 60%) |
| CMYK | cmyk(5.9%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(36.59, 59.36, -40.89) |
| CIE-LCH | lch(36.59, 72.08, 325.44°) |
| OKLab | oklab(47.95% 0.1609 -0.114) |
| OKLCH | oklch(47.95% 0.197 324.7) |
| XYZ | xyz(17.7948, 9.3181, 30.9921) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.08
Warm Purple
#952E8F
ΔE00 3.54
Darkmagenta
#8B008B
ΔE00 3.63
Purple (survey)
#7E1E9C
ΔE00 4.07
Purple
#800080
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902199 #2A9921
analogous
#542199 #902199 #992166
triadic
#902199 #999021 #219990
tetradic
#902199 #995421 #2A9921 #216699
square
#902199 #995421 #2A9921 #216699
split-complementary
#902199 #669921 #219954
monochromatic
#310B34 #611667 #902199 #BF2CCB #D159DB
Accessibility & contrast
On white
7.33
#902199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#902199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902199
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902199 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3A5B96
Tritanopia (blue-blind)
#93385D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #902199; /* rgb */ color: rgb(144, 33, 153); /* oklch */ color: oklch(47.9% 0.197 324.7);
Tailwind
colors: {
custom: {
50: '#b46ab7',
500: '#902199',
950: '#000000',
},
}SCSS
$custom: #902199; $custom-light: #b46ab7; $custom-dark: #000000;
JSON
{
"hex": "#902199",
"rgb": {
"r": 144,
"g": 33,
"b": 153
},
"hsl": {
"h": 295.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.47946,
"c": 0.19724,
"h": 324.7
},
"luminance": 0.09317
}Semantic roles & 50–950 ramp
primary
#902199
secondary
#5EBF56
accent
#E8404D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80