#903FC6#903FC6
#903FC6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.204 H 308.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #903FC6 |
|---|---|
| RGB | rgb(144, 63, 198) |
| HSL | hsl(276, 54%, 51%) |
| HSV | hsv(276, 68%, 78%) |
| CMYK | cmyk(27.3%, 68.2%, 0%, 22.4%) |
| CIE-LAB | lab(43.60, 56.80, -56.33) |
| CIE-LCH | lch(43.60, 79.99, 315.24°) |
| OKLab | oklab(53.88% 0.1271 -0.1595) |
| OKLCH | oklch(53.88% 0.204 308.5) |
| XYZ | xyz(23.4701, 13.5619, 54.7964) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.24
Purply
#983FB2
ΔE00 4.08
Blueviolet
#8A2BE2
ΔE00 4.97
Vibrant Purple
#AD03DE
ΔE00 5.90
Violet (survey)
#9A0EEA
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903FC6 #75C63F
analogous
#4C3FC6 #903FC6 #C63FB8
triadic
#903FC6 #C6903F #3FC690
tetradic
#903FC6 #C64C3F #75C63F #3FB8C6
square
#903FC6 #C64C3F #75C63F #3FB8C6
split-complementary
#903FC6 #B8C63F #3FC64C
monochromatic
#4D206B #6F2E9A #903FC6 #AB6ED4 #C79DE2
Accessibility & contrast
On white
5.66
#903FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#903FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903FC6
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903FC6 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2368C3
Tritanopia (blue-blind)
#885C7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #903fc6; /* rgb */ color: rgb(144, 63, 198); /* oklch */ color: oklch(53.9% 0.204 308.5);
Tailwind
colors: {
custom: {
50: '#b57ad8',
500: '#903fc6',
950: '#000000',
},
}SCSS
$custom: #903fc6; $custom-light: #b57ad8; $custom-dark: #000000;
JSON
{
"hex": "#903fc6",
"rgb": {
"r": 144,
"g": 63,
"b": 198
},
"hsl": {
"h": 276,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.53876,
"c": 0.2039,
"h": 308.5
},
"luminance": 0.13562
}Semantic roles & 50–950 ramp
primary
#903FC6
secondary
#AACE93
accent
#DE4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83