#803AAF#803AAF
#803AAF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.182 H 308.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #803AAF |
|---|---|
| RGB | rgb(128, 58, 175) |
| HSL | hsl(276, 50%, 46%) |
| HSV | hsv(276, 67%, 69%) |
| CMYK | cmyk(26.9%, 66.9%, 0%, 31.4%) |
| CIE-LAB | lab(39.09, 50.48, -50.21) |
| CIE-LCH | lch(39.09, 71.20, 315.15°) |
| OKLab | oklab(49.7% 0.1137 -0.142) |
| OKLCH | oklch(49.7% 0.182 308.7) |
| XYZ | xyz(18.1514, 10.7108, 41.6603) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.52
Purple (survey)
#7E1E9C
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.01
Darkviolet
#9400D3
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803AAF #69AF3A
analogous
#453AAF #803AAF #AF3AA4
triadic
#803AAF #AF803A #3AAF80
tetradic
#803AAF #AF453A #69AF3A #3AA4AF
square
#803AAF #AF453A #69AF3A #3AA4AF
split-complementary
#803AAF #A4AF3A #3AAF45
monochromatic
#3D1C53 #5E2B81 #803AAF #9E5DC9 #B98BD9
Accessibility & contrast
On white
6.68
#803AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#803AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803AAF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803AAF | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#795370
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #803aaf; /* rgb */ color: rgb(128, 58, 175); /* oklch */ color: oklch(49.7% 0.182 308.7);
Tailwind
colors: {
custom: {
50: '#a975c8',
500: '#803aaf',
950: '#000000',
},
}SCSS
$custom: #803aaf; $custom-light: #a975c8; $custom-dark: #000000;
JSON
{
"hex": "#803aaf",
"rgb": {
"r": 128,
"g": 58,
"b": 175
},
"hsl": {
"h": 275.897,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.49697,
"c": 0.18191,
"h": 308.7
},
"luminance": 0.1071
}Semantic roles & 50–950 ramp
primary
#803AAF
secondary
#9CC382
accent
#DA4E86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82