#816BE2#816BE2
#816BE2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.7% C 0.174 H 288.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #816BE2 |
|---|---|
| RGB | rgb(129, 107, 226) |
| HSL | hsl(251, 67%, 65%) |
| HSV | hsv(251, 53%, 89%) |
| CMYK | cmyk(42.9%, 52.7%, 0%, 11.4%) |
| CIE-LAB | lab(52.59, 37.19, -57.94) |
| CIE-LCH | lch(52.59, 68.85, 302.69°) |
| OKLab | oklab(60.65% 0.0555 -0.1647) |
| OKLCH | oklch(60.65% 0.174 288.6) |
| XYZ | xyz(28.0346, 20.6725, 74.4498) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.19
Mediumpurple
#9370DB
ΔE00 4.21
Purpley
#8756E4
ΔE00 5.97
Dark Periwinkle
#665FD1
ΔE00 6.50
Light Indigo
#6D5ACF
ΔE00 6.85
Slate Blue
#6A5ACD
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816BE2 #CCE26B
analogous
#6B91E2 #816BE2 #BC6BE2
triadic
#816BE2 #E2816B #6BE281
tetradic
#816BE2 #E26B91 #CCE26B #6BE2BC
square
#816BE2 #E26B91 #CCE26B #6BE2BC
split-complementary
#816BE2 #E2BC6B #91E26B
monochromatic
#3D23B0 #5538D8 #816BE2 #AD9EEC #D8D1F6
Accessibility & contrast
On white
4.09
#816BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#816BE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816BE2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816BE2 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#64849C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #816be2; /* rgb */ color: rgb(129, 107, 226); /* oklch */ color: oklch(60.7% 0.174 288.6);
Tailwind
colors: {
custom: {
50: '#ab96ec',
500: '#816be2',
950: '#000000',
},
}SCSS
$custom: #816be2; $custom-light: #ab96ec; $custom-dark: #000000;
JSON
{
"hex": "#816be2",
"rgb": {
"r": 129,
"g": 107,
"b": 226
},
"hsl": {
"h": 251.092,
"s": 67.232,
"l": 65.294
},
"oklch": {
"l": 0.6065,
"c": 0.17383,
"h": 288.6
},
"luminance": 0.20674
}Semantic roles & 50–950 ramp
primary
#816BE2
secondary
#E1E8C0
accent
#CF16AD
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110D16
muted
#807E84