#903CB8#903CB8
#903CB8 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.194 H 312.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #903CB8 |
|---|---|
| RGB | rgb(144, 60, 184) |
| HSL | hsl(281, 51%, 48%) |
| HSV | hsv(281, 67%, 72%) |
| CMYK | cmyk(21.7%, 67.4%, 0%, 27.8%) |
| CIE-LAB | lab(42.19, 55.10, -50.43) |
| CIE-LCH | lch(42.19, 74.69, 317.54°) |
| OKLab | oklab(52.57% 0.1316 -0.1421) |
| OKLCH | oklch(52.57% 0.194 312.8) |
| XYZ | xyz(21.7677, 12.6223, 46.6278) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.39
Darkorchid
#9932CC
ΔE00 3.19
Barney
#AC1DB8
ΔE00 5.44
Medium Purple
#9E43A2
ΔE00 6.18
Darkviolet
#9400D3
ΔE00 6.26
Blueviolet
#8A2BE2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903CB8 #64B83C
analogous
#523CB8 #903CB8 #B83CA2
triadic
#903CB8 #B8903C #3CB890
tetradic
#903CB8 #B8523C #64B83C #3CA2B8
square
#903CB8 #B8523C #64B83C #3CA2B8
split-complementary
#903CB8 #A2B83C #3CB852
monochromatic
#481E5C #6C2D8A #903CB8 #AB65CD #C493DC
Accessibility & contrast
On white
5.96
#903CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#903CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903CB8
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903CB8 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#8C5575
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #903cb8; /* rgb */ color: rgb(144, 60, 184); /* oklch */ color: oklch(52.6% 0.194 312.8);
Tailwind
colors: {
custom: {
50: '#b478ce',
500: '#903cb8',
950: '#000000',
},
}SCSS
$custom: #903cb8; $custom-light: #b478ce; $custom-dark: #000000;
JSON
{
"hex": "#903cb8",
"rgb": {
"r": 144,
"g": 60,
"b": 184
},
"hsl": {
"h": 280.645,
"s": 50.82,
"l": 47.843
},
"oklch": {
"l": 0.52571,
"c": 0.19371,
"h": 312.8
},
"luminance": 0.12622
}Semantic roles & 50–950 ramp
primary
#903CB8
secondary
#9DC789
accent
#DA4D7B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82