#903CC2#903CC2
#903CC2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.204 H 309.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #903CC2 |
|---|---|
| RGB | rgb(144, 60, 194) |
| HSL | hsl(278, 53%, 50%) |
| HSV | hsv(278, 69%, 76%) |
| CMYK | cmyk(25.8%, 69.1%, 0%, 23.9%) |
| CIE-LAB | lab(42.85, 57.26, -55.21) |
| CIE-LCH | lch(42.85, 79.54, 316.04°) |
| OKLab | oklab(53.25% 0.1307 -0.1562) |
| OKLCH | oklch(53.25% 0.204 309.9) |
| XYZ | xyz(22.8532, 13.0565, 52.3448) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.10
Purply
#983FB2
ΔE00 3.61
Blueviolet
#8A2BE2
ΔE00 5.19
Darkviolet
#9400D3
ΔE00 5.59
Vibrant Purple
#AD03DE
ΔE00 5.87
Barney
#AC1DB8
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903CC2 #6EC23C
analogous
#4D3CC2 #903CC2 #C23CB1
triadic
#903CC2 #C2903C #3CC290
tetradic
#903CC2 #C24D3C #6EC23C #3CB1C2
square
#903CC2 #C24D3C #6EC23C #3CB1C2
split-complementary
#903CC2 #B1C23C #3CC24D
monochromatic
#4B1F65 #6D2E93 #903CC2 #AB6AD1 #C599DF
Accessibility & contrast
On white
5.82
#903CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#903CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903CC2
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903CC2 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#89597B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #903cc2; /* rgb */ color: rgb(144, 60, 194); /* oklch */ color: oklch(53.3% 0.204 309.9);
Tailwind
colors: {
custom: {
50: '#b578d5',
500: '#903cc2',
950: '#000000',
},
}SCSS
$custom: #903cc2; $custom-light: #b578d5; $custom-dark: #000000;
JSON
{
"hex": "#903cc2",
"rgb": {
"r": 144,
"g": 60,
"b": 194
},
"hsl": {
"h": 277.612,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.53254,
"c": 0.20366,
"h": 309.9
},
"luminance": 0.13056
}Semantic roles & 50–950 ramp
primary
#903CC2
secondary
#A5CB8F
accent
#DC4C82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83