#903FC0#903FC0
#903FC0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.5% C 0.198 H 310.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #903FC0 |
|---|---|
| RGB | rgb(144, 63, 192) |
| HSL | hsl(278, 51%, 50%) |
| HSV | hsv(278, 67%, 75%) |
| CMYK | cmyk(25%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(43.20, 55.47, -53.48) |
| CIE-LCH | lch(43.20, 77.06, 316.05°) |
| OKLab | oklab(53.46% 0.1277 -0.1511) |
| OKLCH | oklch(53.46% 0.198 310.2) |
| XYZ | xyz(22.7917, 13.2906, 51.2236) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.55
Purply
#983FB2
ΔE00 3.25
Blueviolet
#8A2BE2
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.15
Darkviolet
#9400D3
ΔE00 6.21
Vibrant Purple
#AD03DE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903FC0 #6FC03F
analogous
#4F3FC0 #903FC0 #C03FB0
triadic
#903FC0 #C0903F #3FC090
tetradic
#903FC0 #C04F3F #6FC03F #3FB0C0
square
#903FC0 #C04F3F #6FC03F #3FB0C0
split-complementary
#903FC0 #B0C03F #3FC04F
monochromatic
#4B2164 #6D3092 #903FC0 #AB6DCF #C59BDE
Accessibility & contrast
On white
5.74
#903FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#903FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903FC0
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903FC0 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#895A7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #903fc0; /* rgb */ color: rgb(144, 63, 192); /* oklch */ color: oklch(53.5% 0.198 310.2);
Tailwind
colors: {
custom: {
50: '#b47ad4',
500: '#903fc0',
950: '#000000',
},
}SCSS
$custom: #903fc0; $custom-light: #b47ad4; $custom-dark: #000000;
JSON
{
"hex": "#903fc0",
"rgb": {
"r": 144,
"g": 63,
"b": 192
},
"hsl": {
"h": 277.674,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.53462,
"c": 0.19782,
"h": 310.2
},
"luminance": 0.1329
}Semantic roles & 50–950 ramp
primary
#903FC0
secondary
#A6CA91
accent
#DA4E82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83