#902BA5#902BA5
#902BA5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 320.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #902BA5 |
|---|---|
| RGB | rgb(144, 43, 165) |
| HSL | hsl(290, 59%, 41%) |
| HSV | hsv(290, 74%, 65%) |
| CMYK | cmyk(12.7%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(38.51, 58.21, -45.06) |
| CIE-LCH | lch(38.51, 73.61, 322.26°) |
| OKLab | oklab(49.55% 0.151 -0.1263) |
| OKLCH | oklch(49.55% 0.197 320.1) |
| XYZ | xyz(19.1562, 10.3746, 36.5835) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.38
Purply
#983FB2
ΔE00 4.57
Barney Purple
#A00498
ΔE00 4.70
Warm Purple
#952E8F
ΔE00 4.80
Barney
#AC1DB8
ΔE00 5.13
Darkmagenta
#8B008B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902BA5 #40A52B
analogous
#532BA5 #902BA5 #A52B7D
triadic
#902BA5 #A5902B #2BA590
tetradic
#902BA5 #A5532B #40A52B #2B7DA5
square
#902BA5 #A5532B #40A52B #2B7DA5
split-complementary
#902BA5 #7DA52B #2BA553
monochromatic
#3B1244 #661E74 #902BA5 #B540CD #C871DA
Accessibility & contrast
On white
6.83
#902BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#902BA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902BA5
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902BA5 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#914366
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #902ba5; /* rgb */ color: rgb(144, 43, 165); /* oklch */ color: oklch(49.6% 0.197 320.1);
Tailwind
colors: {
custom: {
50: '#b46fc0',
500: '#902ba5',
950: '#000000',
},
}SCSS
$custom: #902ba5; $custom-light: #b46fc0; $custom-dark: #000000;
JSON
{
"hex": "#902ba5",
"rgb": {
"r": 144,
"g": 43,
"b": 165
},
"hsl": {
"h": 289.672,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.49551,
"c": 0.19686,
"h": 320.1
},
"luminance": 0.10374
}Semantic roles & 50–950 ramp
primary
#902BA5
secondary
#7AC16B
accent
#E24661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81