#816CD0#816CD0
#816CD0 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.7% C 0.148 H 290.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #816CD0 |
|---|---|
| RGB | rgb(129, 108, 208) |
| HSL | hsl(253, 52%, 62%) |
| HSV | hsv(253, 48%, 82%) |
| CMYK | cmyk(38%, 48.1%, 0%, 18.4%) |
| CIE-LAB | lab(51.78, 31.60, -49.05) |
| CIE-LCH | lch(51.78, 58.35, 302.79°) |
| OKLab | oklab(59.7% 0.0529 -0.1387) |
| OKLCH | oklch(59.7% 0.148 290.9) |
| XYZ | xyz(25.7979, 19.9456, 62.1529) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.94
Mediumslateblue
#7B68EE
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 6.47
Light Indigo
#6D5ACF
ΔE00 6.66
Deep Lilac
#966EBD
ΔE00 6.87
Purpley
#8756E4
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816CD0 #BBD06C
analogous
#6C89D0 #816CD0 #B36CD0
triadic
#816CD0 #D0816C #6CD081
tetradic
#816CD0 #D06C89 #BBD06C #6CD0B3
square
#816CD0 #D06C89 #BBD06C #6CD0B3
split-complementary
#816CD0 #D0B36C #89D06C
monochromatic
#442F93 #593EC1 #816CD0 #A99ADF #D0C9EE
Accessibility & contrast
On white
4.21
#816CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#816CD0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816CD0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816CD0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816CD0 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467DD4
Deuteranopia (green-blind)
#4979CE
Tritanopia (blue-blind)
#6C8094
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #816cd0; /* rgb */ color: rgb(129, 108, 208); /* oklch */ color: oklch(59.7% 0.148 290.9);
Tailwind
colors: {
custom: {
50: '#a996df',
500: '#816cd0',
950: '#000000',
},
}SCSS
$custom: #816cd0; $custom-light: #a996df; $custom-dark: #000000;
JSON
{
"hex": "#816cd0",
"rgb": {
"r": 129,
"g": 108,
"b": 208
},
"hsl": {
"h": 252.6,
"s": 51.546,
"l": 61.961
},
"oklch": {
"l": 0.59704,
"c": 0.1484,
"h": 290.9
},
"luminance": 0.19946
}Semantic roles & 50–950 ramp
primary
#816CD0
secondary
#D7DEB9
accent
#BF279F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83