#806CB2#806CB2
#806CB2 is a mid, moderate violet. Relative luminance 0.185; OKLCH L 57.9% C 0.107 H 296.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #806CB2 |
|---|---|
| RGB | rgb(128, 108, 178) |
| HSL | hsl(257, 31%, 56%) |
| HSV | hsv(257, 39%, 70%) |
| CMYK | cmyk(28.1%, 39.3%, 0%, 30.2%) |
| CIE-LAB | lab(50.13, 23.33, -34.42) |
| CIE-LCH | lch(50.13, 41.58, 304.13°) |
| OKLab | oklab(57.93% 0.0469 -0.096) |
| OKLCH | oklch(57.93% 0.107 296) |
| XYZ | xyz(22.2986, 18.5284, 44.5124) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 5.86
Dark Lavender
#856798
ΔE00 6.86
Mediumpurple
#9370DB
ΔE00 7.65
Amethyst
#9B5FC0
ΔE00 7.68
Dark Lilac
#9C6DA5
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#806CB2 #9EB26C
analogous
#6C7BB2 #806CB2 #A36CB2
triadic
#806CB2 #B2806C #6CB280
tetradic
#806CB2 #B26C7B #9EB26C #6CB2A3
square
#806CB2 #B26C7B #9EB26C #6CB2A3
split-complementary
#806CB2 #B2A36C #7BB26C
monochromatic
#47386B #614D94 #806CB2 #A394C7 #C5BCDC
Accessibility & contrast
On white
4.46
#806CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#806CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #806CB2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##806CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##806CB2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#767886
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #806cb2; /* rgb */ color: rgb(128, 108, 178); /* oklch */ color: oklch(57.9% 0.107 296.0);
Tailwind
colors: {
custom: {
50: '#a696c9',
500: '#806cb2',
950: '#000000',
},
}SCSS
$custom: #806cb2; $custom-light: #a696c9; $custom-dark: #000000;
JSON
{
"hex": "#806cb2",
"rgb": {
"r": 128,
"g": 108,
"b": 178
},
"hsl": {
"h": 257.143,
"s": 31.25,
"l": 56.078
},
"oklch": {
"l": 0.57934,
"c": 0.10689,
"h": 296
},
"luminance": 0.18529
}Semantic roles & 50–950 ramp
primary
#806CB2
secondary
#C3CBAE
accent
#C760AA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82