#903ED4#903ED4
#903ED4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.219 H 305.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #903ED4 |
|---|---|
| RGB | rgb(144, 62, 212) |
| HSL | hsl(273, 64%, 54%) |
| HSV | hsv(273, 71%, 83%) |
| CMYK | cmyk(32.1%, 70.8%, 0%, 16.9%) |
| CIE-LAB | lab(44.42, 60.39, -63.09) |
| CIE-LCH | lch(44.42, 87.33, 313.75°) |
| OKLab | oklab(54.77% 0.1262 -0.1793) |
| OKLCH | oklch(54.77% 0.219 305.1) |
| XYZ | xyz(25.1052, 14.1282, 63.6790) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.73
Blueviolet
#8A2BE2
ΔE00 3.59
Violet (survey)
#9A0EEA
ΔE00 4.76
Vibrant Purple
#AD03DE
ΔE00 5.49
Vivid Purple
#9900FA
ΔE00 5.80
Darkviolet
#9400D3
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903ED4 #82D43E
analogous
#453ED4 #903ED4 #D43ECD
triadic
#903ED4 #D4903E #3ED490
tetradic
#903ED4 #D4453E #82D43E #3ECDD4
square
#903ED4 #D4453E #82D43E #3ECDD4
split-complementary
#903ED4 #CDD43E #3ED445
monochromatic
#501C7C #7127AE #903ED4 #AD70DF #CAA2EA
Accessibility & contrast
On white
5.49
#903ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#903ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903ED4
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903ED4 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#836185
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #903ed4; /* rgb */ color: rgb(144, 62, 212); /* oklch */ color: oklch(54.8% 0.219 305.1);
Tailwind
colors: {
custom: {
50: '#b67ae2',
500: '#903ed4',
950: '#000000',
},
}SCSS
$custom: #903ed4; $custom-light: #b67ae2; $custom-dark: #000000;
JSON
{
"hex": "#903ed4",
"rgb": {
"r": 144,
"g": 62,
"b": 212
},
"hsl": {
"h": 272.8,
"s": 63.559,
"l": 53.725
},
"oklch": {
"l": 0.54768,
"c": 0.21929,
"h": 305.1
},
"luminance": 0.14128
}Semantic roles & 50–950 ramp
primary
#903ED4
secondary
#B4D797
accent
#E7418C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84