#803FBF#803FBF
#803FBF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.192 H 303.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #803FBF |
|---|---|
| RGB | rgb(128, 63, 191) |
| HSL | hsl(270, 50%, 50%) |
| HSV | hsv(270, 67%, 75%) |
| CMYK | cmyk(33%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(41.07, 51.82, -56.44) |
| CIE-LCH | lch(41.07, 76.63, 312.56°) |
| OKLab | oklab(51.47% 0.1065 -0.1603) |
| OKLCH | oklch(51.47% 0.192 303.6) |
| XYZ | xyz(20.0814, 11.9058, 50.5202) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.55
Blueviolet
#8A2BE2
ΔE00 5.18
Bluey Purple
#6241C7
ΔE00 5.66
Purply
#983FB2
ΔE00 5.81
Royal Purple
#7851A9
ΔE00 5.88
Darkviolet
#9400D3
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803FBF #7EBF3F
analogous
#403FBF #803FBF #BF3FBE
triadic
#803FBF #BF803F #3FBF80
tetradic
#803FBF #BF403F #7EBF3F #3FBEBF
square
#803FBF #BF403F #7EBF3F #3FBEBF
split-complementary
#803FBF #BEBF3F #3FBF40
monochromatic
#422163 #613091 #803FBF #9E6DCF #BD9BDE
Accessibility & contrast
On white
6.21
#803FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#803FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803FBF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803FBF | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0B61BC
Tritanopia (blue-blind)
#745C7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #803fbf; /* rgb */ color: rgb(128, 63, 191); /* oklch */ color: oklch(51.5% 0.192 303.6);
Tailwind
colors: {
custom: {
50: '#aa78d3',
500: '#803fbf',
950: '#000000',
},
}SCSS
$custom: #803fbf; $custom-light: #aa78d3; $custom-dark: #000000;
JSON
{
"hex": "#803fbf",
"rgb": {
"r": 128,
"g": 63,
"b": 191
},
"hsl": {
"h": 270.469,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.51466,
"c": 0.19247,
"h": 303.6
},
"luminance": 0.11906
}Semantic roles & 50–950 ramp
primary
#803FBF
secondary
#ACCA90
accent
#DA4E93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83