#902CA7#902CA7
#902CA7 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 319.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA7 |
|---|---|
| RGB | rgb(144, 44, 167) |
| HSL | hsl(289, 58%, 41%) |
| HSV | hsv(289, 74%, 65%) |
| CMYK | cmyk(13.8%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(38.76, 58.23, -45.85) |
| CIE-LCH | lch(38.76, 74.11, 321.78°) |
| OKLab | oklab(49.77% 0.1499 -0.1286) |
| OKLCH | oklch(49.77% 0.197 319.4) |
| XYZ | xyz(19.3764, 10.5216, 37.5620) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.32
Purple (survey)
#7E1E9C
ΔE00 4.52
Barney Purple
#A00498
ΔE00 5.00
Barney
#AC1DB8
ΔE00 5.01
Warm Purple
#952E8F
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA7 #43A72C
analogous
#522CA7 #902CA7 #A72C81
triadic
#902CA7 #A7902C #2CA790
tetradic
#902CA7 #A7522C #43A72C #2C81A7
square
#902CA7 #A7522C #43A72C #2C81A7
split-complementary
#902CA7 #81A72C #2CA752
monochromatic
#3C1246 #661F77 #902CA7 #B343CD #C773DA
Accessibility & contrast
On white
6.77
#902CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#902CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA7
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA7 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#355FA4
Tritanopia (blue-blind)
#904467
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ca7; /* rgb */ color: rgb(144, 44, 167); /* oklch */ color: oklch(49.8% 0.197 319.4);
Tailwind
colors: {
custom: {
50: '#b46fc2',
500: '#902ca7',
950: '#000000',
},
}SCSS
$custom: #902ca7; $custom-light: #b46fc2; $custom-dark: #000000;
JSON
{
"hex": "#902ca7",
"rgb": {
"r": 144,
"g": 44,
"b": 167
},
"hsl": {
"h": 288.78,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.49774,
"c": 0.19748,
"h": 319.4
},
"luminance": 0.10521
}Semantic roles & 50–950 ramp
primary
#902CA7
secondary
#7DC26D
accent
#E24663
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81