#902CA6#902CA6
#902CA6 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.197 H 319.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA6 |
|---|---|
| RGB | rgb(144, 44, 166) |
| HSL | hsl(289, 58%, 41%) |
| HSV | hsv(289, 73%, 65%) |
| CMYK | cmyk(13.3%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(38.70, 58.03, -45.35) |
| CIE-LCH | lch(38.70, 73.65, 321.99°) |
| OKLab | oklab(49.71% 0.1499 -0.1272) |
| OKLCH | oklch(49.71% 0.197 319.7) |
| XYZ | xyz(19.2843, 10.4848, 37.0770) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.38
Purple (survey)
#7E1E9C
ΔE00 4.50
Barney Purple
#A00498
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA6 #42A62C
analogous
#532CA6 #902CA6 #A62C7F
triadic
#902CA6 #A6902C #2CA690
tetradic
#902CA6 #A6532C #42A62C #2C7FA6
square
#902CA6 #A6532C #42A62C #2C7FA6
split-complementary
#902CA6 #7FA62C #2CA653
monochromatic
#3C1245 #661F76 #902CA6 #B442CD #C773DA
Accessibility & contrast
On white
6.78
#902CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#902CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA6
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA6 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#904467
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ca6; /* rgb */ color: rgb(144, 44, 166); /* oklch */ color: oklch(49.7% 0.197 319.7);
Tailwind
colors: {
custom: {
50: '#b46fc1',
500: '#902ca6',
950: '#000000',
},
}SCSS
$custom: #902ca6; $custom-light: #b46fc1; $custom-dark: #000000;
JSON
{
"hex": "#902ca6",
"rgb": {
"r": 144,
"g": 44,
"b": 166
},
"hsl": {
"h": 289.18,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.49708,
"c": 0.1966,
"h": 319.7
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#902CA6
secondary
#7CC16D
accent
#E14662
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81