#902CA3#902CA3
#902CA3 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.194 H 320.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #902CA3 |
|---|---|
| RGB | rgb(144, 44, 163) |
| HSL | hsl(290, 57%, 41%) |
| HSV | hsv(290, 73%, 64%) |
| CMYK | cmyk(11.7%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(38.51, 57.46, -43.86) |
| CIE-LCH | lch(38.51, 72.29, 322.65°) |
| OKLab | oklab(49.51% 0.1502 -0.1228) |
| OKLCH | oklch(49.51% 0.194 320.7) |
| XYZ | xyz(19.0124, 10.3760, 35.6446) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.43
Purple (survey)
#7E1E9C
ΔE00 4.48
Barney Purple
#A00498
ΔE00 4.54
Purply
#983FB2
ΔE00 4.59
Barney
#AC1DB8
ΔE00 5.22
Darkmagenta
#8B008B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CA3 #3FA32C
analogous
#542CA3 #902CA3 #A32C7A
triadic
#902CA3 #A3902C #2CA390
tetradic
#902CA3 #A3542C #3FA32C #2C7AA3
square
#902CA3 #A3542C #3FA32C #2C7AA3
split-complementary
#902CA3 #7AA32C #2CA354
monochromatic
#3B1243 #651F73 #902CA3 #B541CC #C871D9
Accessibility & contrast
On white
6.83
#902CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#902CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CA3
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CA3 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#914365
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ca3; /* rgb */ color: rgb(144, 44, 163); /* oklch */ color: oklch(49.5% 0.194 320.7);
Tailwind
colors: {
custom: {
50: '#b46fbf',
500: '#902ca3',
950: '#000000',
},
}SCSS
$custom: #902ca3; $custom-light: #b46fbf; $custom-dark: #000000;
JSON
{
"hex": "#902ca3",
"rgb": {
"r": 144,
"g": 44,
"b": 163
},
"hsl": {
"h": 290.42,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.49512,
"c": 0.19397,
"h": 320.7
},
"luminance": 0.10375
}Semantic roles & 50–950 ramp
primary
#902CA3
secondary
#78C06B
accent
#E14760
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81