#903CC0#903CC0
#903CC0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.202 H 310.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #903CC0 |
|---|---|
| RGB | rgb(144, 60, 192) |
| HSL | hsl(278, 52%, 49%) |
| HSV | hsv(278, 69%, 75%) |
| CMYK | cmyk(25%, 68.7%, 0%, 24.7%) |
| CIE-LAB | lab(42.71, 56.82, -54.26) |
| CIE-LCH | lch(42.71, 78.57, 316.32°) |
| OKLab | oklab(53.12% 0.1309 -0.1534) |
| OKLCH | oklch(53.12% 0.202 310.5) |
| XYZ | xyz(22.6301, 12.9673, 51.1698) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.26
Purply
#983FB2
ΔE00 3.35
Blueviolet
#8A2BE2
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 5.69
Barney
#AC1DB8
ΔE00 5.91
Vibrant Purple
#AD03DE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903CC0 #6CC03C
analogous
#4E3CC0 #903CC0 #C03CAE
triadic
#903CC0 #C0903C #3CC090
tetradic
#903CC0 #C04E3C #6CC03C #3CAEC0
square
#903CC0 #C04E3C #6CC03C #3CAEC0
split-complementary
#903CC0 #AEC03C #3CC04E
monochromatic
#4A1F63 #6D2D91 #903CC0 #AB69D0 #C598DF
Accessibility & contrast
On white
5.84
#903CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#903CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903CC0
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903CC0 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#8A5879
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #903cc0; /* rgb */ color: rgb(144, 60, 192); /* oklch */ color: oklch(53.1% 0.202 310.5);
Tailwind
colors: {
custom: {
50: '#b578d4',
500: '#903cc0',
950: '#000000',
},
}SCSS
$custom: #903cc0; $custom-light: #b578d4; $custom-dark: #000000;
JSON
{
"hex": "#903cc0",
"rgb": {
"r": 144,
"g": 60,
"b": 192
},
"hsl": {
"h": 278.182,
"s": 52.381,
"l": 49.412
},
"oklch": {
"l": 0.53115,
"c": 0.20166,
"h": 310.5
},
"luminance": 0.12967
}Semantic roles & 50–950 ramp
primary
#903CC0
secondary
#A4CA8D
accent
#DC4C80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83