#902EA7#902EA7
#902EA7 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 319.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #902EA7 |
|---|---|
| RGB | rgb(144, 46, 167) |
| HSL | hsl(289, 57%, 42%) |
| HSV | hsv(289, 72%, 65%) |
| CMYK | cmyk(13.8%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(39.03, 57.48, -45.43) |
| CIE-LCH | lch(39.03, 73.26, 321.68°) |
| OKLab | oklab(49.96% 0.1479 -0.1274) |
| OKLCH | oklch(49.96% 0.195 319.3) |
| XYZ | xyz(19.4527, 10.6742, 37.5874) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.05
Purple (survey)
#7E1E9C
ΔE00 4.74
Barney
#AC1DB8
ΔE00 4.98
Warm Purple
#952E8F
ΔE00 5.06
Barney Purple
#A00498
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902EA7 #45A72E
analogous
#542EA7 #902EA7 #A72E82
triadic
#902EA7 #A7902E #2EA790
tetradic
#902EA7 #A7542E #45A72E #2E82A7
square
#902EA7 #A7542E #45A72E #2E82A7
split-complementary
#902EA7 #82A72E #2EA754
monochromatic
#3D1447 #672177 #902EA7 #B346CC #C676D9
Accessibility & contrast
On white
6.70
#902EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#902EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902EA7
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902EA7 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#904668
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #902ea7; /* rgb */ color: rgb(144, 46, 167); /* oklch */ color: oklch(50.0% 0.195 319.3);
Tailwind
colors: {
custom: {
50: '#b470c2',
500: '#902ea7',
950: '#000000',
},
}SCSS
$custom: #902ea7; $custom-light: #b470c2; $custom-dark: #000000;
JSON
{
"hex": "#902ea7",
"rgb": {
"r": 144,
"g": 46,
"b": 167
},
"hsl": {
"h": 288.595,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.49962,
"c": 0.19518,
"h": 319.3
},
"luminance": 0.10673
}Semantic roles & 50–950 ramp
primary
#902EA7
secondary
#7FC170
accent
#E04865
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81