#902CA9#902CA9
#902CA9 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 318.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA9 |
|---|---|
| RGB | rgb(144, 44, 169) |
| HSL | hsl(288, 59%, 42%) |
| HSV | hsv(288, 74%, 66%) |
| CMYK | cmyk(14.8%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(38.89, 58.61, -46.84) |
| CIE-LCH | lch(38.89, 75.03, 321.37°) |
| OKLab | oklab(49.91% 0.1497 -0.1315) |
| OKLCH | oklch(49.91% 0.199 318.7) |
| XYZ | xyz(19.5627, 10.5961, 38.5432) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.22
Purple (survey)
#7E1E9C
ΔE00 4.58
Barney
#AC1DB8
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.25
Warm Purple
#952E8F
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA9 #45A92C
analogous
#522CA9 #902CA9 #A92C84
triadic
#902CA9 #A9902C #2CA990
tetradic
#902CA9 #A9522C #45A92C #2C84A9
square
#902CA9 #A9522C #45A92C #2C84A9
split-complementary
#902CA9 #84A92C #2CA952
monochromatic
#3D1348 #671F78 #902CA9 #B344CE #C674DB
Accessibility & contrast
On white
6.73
#902CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#902CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA9
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA9 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#335FA6
Tritanopia (blue-blind)
#904568
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #902ca9; /* rgb */ color: rgb(144, 44, 169); /* oklch */ color: oklch(49.9% 0.199 318.7);
Tailwind
colors: {
custom: {
50: '#b46fc3',
500: '#902ca9',
950: '#000000',
},
}SCSS
$custom: #902ca9; $custom-light: #b46fc3; $custom-dark: #000000;
JSON
{
"hex": "#902ca9",
"rgb": {
"r": 144,
"g": 44,
"b": 169
},
"hsl": {
"h": 288,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.49907,
"c": 0.19923,
"h": 318.7
},
"luminance": 0.10595
}Semantic roles & 50–950 ramp
primary
#902CA9
secondary
#7FC36E
accent
#E24665
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81