#902FA8#902FA8
#902FA8 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 318.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #902FA8 |
|---|---|
| RGB | rgb(144, 47, 168) |
| HSL | hsl(288, 56%, 42%) |
| HSV | hsv(288, 72%, 66%) |
| CMYK | cmyk(14.3%, 72%, 0%, 34.1%) |
| CIE-LAB | lab(39.23, 57.28, -45.71) |
| CIE-LCH | lch(39.23, 73.28, 321.41°) |
| OKLab | oklab(50.12% 0.1468 -0.1282) |
| OKLCH | oklch(50.12% 0.195 318.9) |
| XYZ | xyz(19.5851, 10.7904, 38.0893) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.86
Purple (survey)
#7E1E9C
ΔE00 4.88
Barney
#AC1DB8
ΔE00 4.93
Warm Purple
#952E8F
ΔE00 5.21
Barney Purple
#A00498
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902FA8 #47A82F
analogous
#532FA8 #902FA8 #A82F84
triadic
#902FA8 #A8902F #2FA890
tetradic
#902FA8 #A8532F #47A82F #2F84A8
square
#902FA8 #A8532F #47A82F #2F84A8
split-complementary
#902FA8 #84A82F #2FA853
monochromatic
#3E1448 #672278 #902FA8 #B248CC #C678D9
Accessibility & contrast
On white
6.65
#902FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#902FA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902FA8
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902FA8 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#904769
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #902fa8; /* rgb */ color: rgb(144, 47, 168); /* oklch */ color: oklch(50.1% 0.195 318.9);
Tailwind
colors: {
custom: {
50: '#b471c2',
500: '#902fa8',
950: '#000000',
},
}SCSS
$custom: #902fa8; $custom-light: #b471c2; $custom-dark: #000000;
JSON
{
"hex": "#902fa8",
"rgb": {
"r": 144,
"g": 47,
"b": 168
},
"hsl": {
"h": 288.099,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.50124,
"c": 0.1949,
"h": 318.9
},
"luminance": 0.10789
}Semantic roles & 50–950 ramp
primary
#902FA8
secondary
#81C171
accent
#E04866
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81