#806FC2#806FC2
#806FC2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.4% C 0.125 H 291.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #806FC2 |
|---|---|
| RGB | rgb(128, 111, 194) |
| HSL | hsl(252, 40%, 60%) |
| HSV | hsv(252, 43%, 76%) |
| CMYK | cmyk(34%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(51.67, 25.75, -41.22) |
| CIE-LCH | lch(51.67, 48.61, 301.99°) |
| OKLab | oklab(59.36% 0.0458 -0.1158) |
| OKLCH | oklch(59.36% 0.125 291.6) |
| XYZ | xyz(24.3216, 19.8526, 53.5790) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.26
Deep Lilac
#966EBD
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 7.02
Mediumslateblue
#7B68EE
ΔE00 7.45
Dark Periwinkle
#665FD1
ΔE00 7.83
Light Indigo
#6D5ACF
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#806FC2 #B1C26F
analogous
#6F88C2 #806FC2 #AA6FC2
triadic
#806FC2 #C2806F #6FC280
tetradic
#806FC2 #C26F88 #B1C26F #6FC2AA
square
#806FC2 #C26F88 #B1C26F #6FC2AA
split-complementary
#806FC2 #C2AA6F #88C26F
monochromatic
#453680 #5D49AB #806FC2 #A69AD4 #CCC5E6
Accessibility & contrast
On white
4.22
#806FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#806FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #806FC2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##806FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##806FC2 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#567AC0
Tritanopia (blue-blind)
#707F8F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #806fc2; /* rgb */ color: rgb(128, 111, 194); /* oklch */ color: oklch(59.4% 0.125 291.6);
Tailwind
colors: {
custom: {
50: '#a798d5',
500: '#806fc2',
950: '#000000',
},
}SCSS
$custom: #806fc2; $custom-light: #a798d5; $custom-dark: #000000;
JSON
{
"hex": "#806fc2",
"rgb": {
"r": 128,
"g": 111,
"b": 194
},
"hsl": {
"h": 252.289,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.5936,
"c": 0.12452,
"h": 291.6
},
"luminance": 0.19853
}Semantic roles & 50–950 ramp
primary
#806FC2
secondary
#D0D6B6
accent
#D057B8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83