#902EBB#902EBB
#902EBB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.213 H 313.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #902EBB |
|---|---|
| RGB | rgb(144, 46, 187) |
| HSL | hsl(282, 61%, 46%) |
| HSV | hsv(282, 75%, 73%) |
| CMYK | cmyk(23%, 75.4%, 0%, 26.7%) |
| CIE-LAB | lab(40.36, 61.45, -55.13) |
| CIE-LCH | lch(40.36, 82.56, 318.10°) |
| OKLab | oklab(51.34% 0.1455 -0.1558) |
| OKLCH | oklch(51.34% 0.213 313) |
| XYZ | xyz(21.4466, 11.4718, 48.0886) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.06
Purply
#983FB2
ΔE00 4.20
Darkviolet
#9400D3
ΔE00 4.22
Barney
#AC1DB8
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.75
Vibrant Purple
#AD03DE
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902EBB #59BB2E
analogous
#492EBB #902EBB #BB2E9F
triadic
#902EBB #BB902E #2EBB90
tetradic
#902EBB #BB492E #59BB2E #2E9FBB
square
#902EBB #BB492E #59BB2E #2E9FBB
split-complementary
#902EBB #9FBB2E #2EBB49
monochromatic
#441659 #6A228A #902EBB #AD52D4 #C483E0
Accessibility & contrast
On white
6.37
#902EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#902EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902EBB
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902EBB | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#8B4E73
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #902ebb; /* rgb */ color: rgb(144, 46, 187); /* oklch */ color: oklch(51.3% 0.213 313.0);
Tailwind
colors: {
custom: {
50: '#b571d0',
500: '#902ebb',
950: '#000000',
},
}SCSS
$custom: #902ebb; $custom-light: #b571d0; $custom-dark: #000000;
JSON
{
"hex": "#902ebb",
"rgb": {
"r": 144,
"g": 46,
"b": 187
},
"hsl": {
"h": 281.702,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.51336,
"c": 0.21318,
"h": 313
},
"luminance": 0.11471
}Semantic roles & 50–950 ramp
primary
#902EBB
secondary
#93CA7B
accent
#E44475
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82