#902ED3#902ED3
#902ED3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.235 H 306.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #902ED3 |
|---|---|
| RGB | rgb(144, 46, 211) |
| HSL | hsl(276, 65%, 50%) |
| HSV | hsv(276, 78%, 83%) |
| CMYK | cmyk(31.8%, 78.2%, 0%, 17.3%) |
| CIE-LAB | lab(42.13, 66.48, -66.22) |
| CIE-LCH | lch(42.13, 93.83, 315.11°) |
| OKLab | oklab(53.14% 0.1406 -0.1884) |
| OKLCH | oklch(53.14% 0.235 306.7) |
| XYZ | xyz(24.2339, 12.5867, 62.7682) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.25
Blueviolet
#8A2BE2
ΔE00 2.34
Violet (survey)
#9A0EEA
ΔE00 3.25
Darkviolet
#9400D3
ΔE00 3.29
Vibrant Purple
#AD03DE
ΔE00 4.59
Vivid Purple
#9900FA
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902ED3 #71D32E
analogous
#3D2ED3 #902ED3 #D32EC4
triadic
#902ED3 #D3902E #2ED390
tetradic
#902ED3 #D33D2E #71D32E #2EC4D3
square
#902ED3 #D33D2E #71D32E #2EC4D3
split-complementary
#902ED3 #C4D32E #2ED33D
monochromatic
#4C176F #6E22A2 #902ED3 #AB61DE #C693E8
Accessibility & contrast
On white
5.97
#902ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#902ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #902ED3
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902ED3 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#845981
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #902ed3; /* rgb */ color: rgb(144, 46, 211); /* oklch */ color: oklch(53.1% 0.235 306.7);
Tailwind
colors: {
custom: {
50: '#b772e2',
500: '#902ed3',
950: '#000000',
},
}SCSS
$custom: #902ed3; $custom-light: #b772e2; $custom-dark: #000000;
JSON
{
"hex": "#902ed3",
"rgb": {
"r": 144,
"g": 46,
"b": 211
},
"hsl": {
"h": 275.636,
"s": 65.217,
"l": 50.392
},
"oklch": {
"l": 0.53135,
"c": 0.2351,
"h": 306.7
},
"luminance": 0.12586
}Semantic roles & 50–950 ramp
primary
#902ED3
secondary
#A7D38A
accent
#E84084
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83