#902CA5#902CA5
#902CA5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 320.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA5 |
|---|---|
| RGB | rgb(144, 44, 165) |
| HSL | hsl(290, 58%, 41%) |
| HSV | hsv(290, 73%, 65%) |
| CMYK | cmyk(12.7%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(38.64, 57.84, -44.86) |
| CIE-LCH | lch(38.64, 73.20, 322.21°) |
| OKLab | oklab(49.64% 0.15 -0.1257) |
| OKLCH | oklch(49.64% 0.196 320) |
| XYZ | xyz(19.1930, 10.4482, 36.5958) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.44
Purple (survey)
#7E1E9C
ΔE00 4.49
Barney Purple
#A00498
ΔE00 4.76
Warm Purple
#952E8F
ΔE00 4.77
Barney
#AC1DB8
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA5 #41A52C
analogous
#532CA5 #902CA5 #A52C7D
triadic
#902CA5 #A5902C #2CA590
tetradic
#902CA5 #A5532C #41A52C #2C7DA5
square
#902CA5 #A5532C #41A52C #2C7DA5
split-complementary
#902CA5 #7DA52C #2CA553
monochromatic
#3C1244 #661F75 #902CA5 #B442CD #C772D9
Accessibility & contrast
On white
6.80
#902CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#902CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA5 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#904466
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ca5; /* rgb */ color: rgb(144, 44, 165); /* oklch */ color: oklch(49.6% 0.196 320.0);
Tailwind
colors: {
custom: {
50: '#b46fc0',
500: '#902ca5',
950: '#000000',
},
}SCSS
$custom: #902ca5; $custom-light: #b46fc0; $custom-dark: #000000;
JSON
{
"hex": "#902ca5",
"rgb": {
"r": 144,
"g": 44,
"b": 165
},
"hsl": {
"h": 289.587,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.49642,
"c": 0.19572,
"h": 320
},
"luminance": 0.10447
}Semantic roles & 50–950 ramp
primary
#902CA5
secondary
#7BC16C
accent
#E14761
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81