#903AB2#903AB2
#903AB2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.190 H 314.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #903AB2 |
|---|---|
| RGB | rgb(144, 58, 178) |
| HSL | hsl(283, 51%, 46%) |
| HSV | hsv(283, 67%, 70%) |
| CMYK | cmyk(19.1%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.49, 54.72, -48.02) |
| CIE-LCH | lch(41.49, 72.80, 318.73°) |
| OKLab | oklab(51.94% 0.1343 -0.1351) |
| OKLCH | oklch(51.94% 0.19 314.8) |
| XYZ | xyz(21.0492, 12.1705, 43.3512) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.14
Darkorchid
#9932CC
ΔE00 3.98
Barney
#AC1DB8
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.59
Darkviolet
#9400D3
ΔE00 6.58
Purple (survey)
#7E1E9C
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903AB2 #5CB23A
analogous
#543AB2 #903AB2 #B23A98
triadic
#903AB2 #B2903A #3AB290
tetradic
#903AB2 #B2543A #5CB23A #3A98B2
square
#903AB2 #B2543A #5CB23A #3A98B2
split-complementary
#903AB2 #98B23A #3AB254
monochromatic
#451C56 #6B2B84 #903AB2 #AC5FCB #C48DDA
Accessibility & contrast
On white
6.12
#903AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#903AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903AB2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903AB2 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#8D5171
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #903ab2; /* rgb */ color: rgb(144, 58, 178); /* oklch */ color: oklch(51.9% 0.190 314.8);
Tailwind
colors: {
custom: {
50: '#b477ca',
500: '#903ab2',
950: '#000000',
},
}SCSS
$custom: #903ab2; $custom-light: #b477ca; $custom-dark: #000000;
JSON
{
"hex": "#903ab2",
"rgb": {
"r": 144,
"g": 58,
"b": 178
},
"hsl": {
"h": 283,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.51945,
"c": 0.19045,
"h": 314.8
},
"luminance": 0.1217
}Semantic roles & 50–950 ramp
primary
#903AB2
secondary
#96C483
accent
#DA4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82