#903FC5#903FC5
#903FC5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.203 H 308.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #903FC5 |
|---|---|
| RGB | rgb(144, 63, 197) |
| HSL | hsl(276, 54%, 51%) |
| HSV | hsv(276, 68%, 77%) |
| CMYK | cmyk(26.9%, 68%, 0%, 22.7%) |
| CIE-LAB | lab(43.53, 56.58, -55.86) |
| CIE-LCH | lch(43.53, 79.50, 315.37°) |
| OKLab | oklab(53.81% 0.1272 -0.1581) |
| OKLCH | oklch(53.81% 0.203 308.8) |
| XYZ | xyz(23.3551, 13.5159, 54.1910) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.26
Purply
#983FB2
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 5.09
Vibrant Purple
#AD03DE
ΔE00 5.95
Darkviolet
#9400D3
ΔE00 6.01
Violet (survey)
#9A0EEA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903FC5 #74C53F
analogous
#4D3FC5 #903FC5 #C53FB7
triadic
#903FC5 #C5903F #3FC590
tetradic
#903FC5 #C54D3F #74C53F #3FB7C5
square
#903FC5 #C54D3F #74C53F #3FB7C5
split-complementary
#903FC5 #B7C53F #3FC54D
monochromatic
#4D206A #6F2E99 #903FC5 #AB6ED3 #C69DE1
Accessibility & contrast
On white
5.67
#903FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#903FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903FC5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903FC5 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#885C7D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #903fc5; /* rgb */ color: rgb(144, 63, 197); /* oklch */ color: oklch(53.8% 0.203 308.8);
Tailwind
colors: {
custom: {
50: '#b57ad7',
500: '#903fc5',
950: '#000000',
},
}SCSS
$custom: #903fc5; $custom-light: #b57ad7; $custom-dark: #000000;
JSON
{
"hex": "#903fc5",
"rgb": {
"r": 144,
"g": 63,
"b": 197
},
"hsl": {
"h": 276.269,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.53806,
"c": 0.20289,
"h": 308.8
},
"luminance": 0.13516
}Semantic roles & 50–950 ramp
primary
#903FC5
secondary
#AACE92
accent
#DD4B85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83