#803FB3#803FB3
#803FB3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.179 H 306.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #803FB3 |
|---|---|
| RGB | rgb(128, 63, 179) |
| HSL | hsl(274, 48%, 47%) |
| HSV | hsv(274, 65%, 70%) |
| CMYK | cmyk(28.5%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(40.24, 48.97, -50.72) |
| CIE-LCH | lch(40.24, 70.50, 313.99°) |
| OKLab | oklab(50.61% 0.1076 -0.1435) |
| OKLCH | oklch(50.61% 0.179 306.8) |
| XYZ | xyz(18.8146, 11.3991, 43.8482) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.24
Rebeccapurple
#663399
ΔE00 6.46
Bluey Purple
#6241C7
ΔE00 6.79
Blueviolet
#8A2BE2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803FB3 #72B33F
analogous
#463FB3 #803FB3 #B33FAC
triadic
#803FB3 #B3803F #3FB380
tetradic
#803FB3 #B3463F #72B33F #3FACB3
square
#803FB3 #B3463F #72B33F #3FACB3
split-complementary
#803FB3 #ACB33F #3FB346
monochromatic
#3F1F58 #602F86 #803FB3 #9E66C9 #BA93D9
Accessibility & contrast
On white
6.40
#803FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#803FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803FB3
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803FB3 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#785773
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #803fb3; /* rgb */ color: rgb(128, 63, 179); /* oklch */ color: oklch(50.6% 0.179 306.8);
Tailwind
colors: {
custom: {
50: '#a978ca',
500: '#803fb3',
950: '#000000',
},
}SCSS
$custom: #803fb3; $custom-light: #a978ca; $custom-dark: #000000;
JSON
{
"hex": "#803fb3",
"rgb": {
"r": 128,
"g": 63,
"b": 179
},
"hsl": {
"h": 273.621,
"s": 47.934,
"l": 47.451
},
"oklch": {
"l": 0.50614,
"c": 0.17936,
"h": 306.8
},
"luminance": 0.11399
}Semantic roles & 50–950 ramp
primary
#803FB3
secondary
#A3C489
accent
#D8508C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82