#902399#902399
#902399 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 324.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #902399 |
|---|---|
| RGB | rgb(144, 35, 153) |
| HSL | hsl(295, 63%, 37%) |
| HSV | hsv(295, 77%, 60%) |
| CMYK | cmyk(5.9%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(36.80, 58.74, -40.55) |
| CIE-LCH | lch(36.80, 71.37, 325.38°) |
| OKLab | oklab(48.1% 0.1592 -0.113) |
| OKLCH | oklch(48.1% 0.195 324.6) |
| XYZ | xyz(17.8519, 9.4324, 31.0112) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.14
Warm Purple
#952E8F
ΔE00 3.38
Darkmagenta
#8B008B
ΔE00 3.82
Purple (survey)
#7E1E9C
ΔE00 4.19
Purple
#800080
ΔE00 5.88
Barney
#AC1DB8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902399 #2C9923
analogous
#552399 #902399 #992367
triadic
#902399 #999023 #239990
tetradic
#902399 #995523 #2C9923 #236799
square
#902399 #995523 #2C9923 #236799
split-complementary
#902399 #679923 #239955
monochromatic
#320C35 #611867 #902399 #BF2ECB #D05DDA
Accessibility & contrast
On white
7.28
#902399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#902399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902399
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902399 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#93395D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #902399; /* rgb */ color: rgb(144, 35, 153); /* oklch */ color: oklch(48.1% 0.195 324.6);
Tailwind
colors: {
custom: {
50: '#b46bb7',
500: '#902399',
950: '#000000',
},
}SCSS
$custom: #902399; $custom-light: #b46bb7; $custom-dark: #000000;
JSON
{
"hex": "#902399",
"rgb": {
"r": 144,
"g": 35,
"b": 153
},
"hsl": {
"h": 295.424,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.48099,
"c": 0.19528,
"h": 324.6
},
"luminance": 0.09431
}Semantic roles & 50–950 ramp
primary
#902399
secondary
#61BE59
accent
#E6424E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80