#902CB6#902CB6
#902CB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.211 H 314.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #902CB6 |
|---|---|
| RGB | rgb(144, 44, 182) |
| HSL | hsl(283, 61%, 44%) |
| HSV | hsv(283, 76%, 71%) |
| CMYK | cmyk(20.9%, 75.8%, 0%, 28.6%) |
| CIE-LAB | lab(39.76, 61.16, -53.15) |
| CIE-LCH | lch(39.76, 81.03, 319.01°) |
| OKLab | oklab(50.8% 0.148 -0.15) |
| OKLCH | oklch(50.8% 0.211 314.6) |
| XYZ | xyz(20.8444, 11.1088, 45.2931) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.20
Darkviolet
#9400D3
ΔE00 4.63
Barney
#AC1DB8
ΔE00 4.99
Purple (survey)
#7E1E9C
ΔE00 5.51
Vibrant Purple
#AD03DE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902CB6 #52B62C
analogous
#4B2CB6 #902CB6 #B62C97
triadic
#902CB6 #B6902C #2CB690
tetradic
#902CB6 #B64B2C #52B62C #2C97B6
square
#902CB6 #B64B2C #52B62C #2C97B6
split-complementary
#902CB6 #97B62C #2CB64B
monochromatic
#421453 #692085 #902CB6 #AE4CD4 #C47DE0
Accessibility & contrast
On white
6.52
#902CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#902CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902CB6
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902CB6 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#8D4B70
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #902cb6; /* rgb */ color: rgb(144, 44, 182); /* oklch */ color: oklch(50.8% 0.211 314.6);
Tailwind
colors: {
custom: {
50: '#b570cd',
500: '#902cb6',
950: '#000000',
},
}SCSS
$custom: #902cb6; $custom-light: #b570cd; $custom-dark: #000000;
JSON
{
"hex": "#902cb6",
"rgb": {
"r": 144,
"g": 44,
"b": 182
},
"hsl": {
"h": 283.478,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.50802,
"c": 0.21077,
"h": 314.6
},
"luminance": 0.11108
}Semantic roles & 50–950 ramp
primary
#902CB6
secondary
#8CC876
accent
#E44470
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82