#903DAF#903DAF
#903DAF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.1% C 0.183 H 315.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #903DAF |
|---|---|
| RGB | rgb(144, 61, 175) |
| HSL | hsl(284, 48%, 46%) |
| HSV | hsv(284, 65%, 69%) |
| CMYK | cmyk(17.7%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(41.79, 52.74, -45.76) |
| CIE-LCH | lch(41.79, 69.83, 319.05°) |
| OKLab | oklab(52.1% 0.131 -0.1285) |
| OKLCH | oklch(52.1% 0.183 315.5) |
| XYZ | xyz(20.9070, 12.3627, 41.8341) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.72
Darkorchid
#9932CC
ΔE00 4.57
Medium Purple
#9E43A2
ΔE00 4.95
Barney
#AC1DB8
ΔE00 5.30
Ugly Purple
#A442A0
ΔE00 6.28
Royal Purple
#7851A9
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903DAF #5CAF3D
analogous
#573DAF #903DAF #AF3D95
triadic
#903DAF #AF903D #3DAF90
tetradic
#903DAF #AF573D #5CAF3D #3D95AF
square
#903DAF #AF573D #5CAF3D #3D95AF
split-complementary
#903DAF #95AF3D #3DAF57
monochromatic
#451D54 #6B2D82 #903DAF #AC61C8 #C48FD8
Accessibility & contrast
On white
6.05
#903DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#903DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903DAF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903DAF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#8E5271
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #903daf; /* rgb */ color: rgb(144, 61, 175); /* oklch */ color: oklch(52.1% 0.183 315.5);
Tailwind
colors: {
custom: {
50: '#b478c7',
500: '#903daf',
950: '#000000',
},
}SCSS
$custom: #903daf; $custom-light: #b478c7; $custom-dark: #000000;
JSON
{
"hex": "#903daf",
"rgb": {
"r": 144,
"g": 61,
"b": 175
},
"hsl": {
"h": 283.684,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.52101,
"c": 0.18345,
"h": 315.5
},
"luminance": 0.12362
}Semantic roles & 50–950 ramp
primary
#903DAF
secondary
#96C385
accent
#D85075
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82