#903FCC#903FCC
#903FCC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.210 H 307.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #903FCC |
|---|---|
| RGB | rgb(144, 63, 204) |
| HSL | hsl(274, 58%, 52%) |
| HSV | hsv(274, 69%, 80%) |
| CMYK | cmyk(29.4%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(44.01, 58.14, -59.14) |
| CIE-LCH | lch(44.01, 82.93, 314.51°) |
| OKLab | oklab(54.3% 0.1264 -0.1677) |
| OKLCH | oklch(54.3% 0.21 307) |
| XYZ | xyz(24.1759, 13.8442, 58.5136) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.30
Blueviolet
#8A2BE2
ΔE00 4.34
Purply
#983FB2
ΔE00 4.92
Violet (survey)
#9A0EEA
ΔE00 5.43
Vibrant Purple
#AD03DE
ΔE00 5.68
Darkviolet
#9400D3
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903FCC #7BCC3F
analogous
#493FCC #903FCC #CC3FC2
triadic
#903FCC #CC903F #3FCC90
tetradic
#903FCC #CC493F #7BCC3F #3FC2CC
square
#903FCC #CC493F #7BCC3F #3FC2CC
split-complementary
#903FCC #C2CC3F #3FCC49
monochromatic
#4F1E72 #702BA3 #903FCC #AC6FD9 #C8A0E6
Accessibility & contrast
On white
5.57
#903FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#903FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903FCC
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903FCC | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#1569C9
Tritanopia (blue-blind)
#865F81
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #903fcc; /* rgb */ color: rgb(144, 63, 204); /* oklch */ color: oklch(54.3% 0.210 307.0);
Tailwind
colors: {
custom: {
50: '#b57adc',
500: '#903fcc',
950: '#000000',
},
}SCSS
$custom: #903fcc; $custom-light: #b57adc; $custom-dark: #000000;
JSON
{
"hex": "#903fcc",
"rgb": {
"r": 144,
"g": 63,
"b": 204
},
"hsl": {
"h": 274.468,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.54299,
"c": 0.20999,
"h": 307
},
"luminance": 0.13844
}Semantic roles & 50–950 ramp
primary
#903FCC
secondary
#AFD295
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83