#816BCE#816BCE
#816BCE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.4% C 0.147 H 291.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #816BCE |
|---|---|
| RGB | rgb(129, 107, 206) |
| HSL | hsl(253, 50%, 61%) |
| HSV | hsv(253, 48%, 81%) |
| CMYK | cmyk(37.4%, 48.1%, 0%, 19.2%) |
| CIE-LAB | lab(51.43, 31.64, -48.47) |
| CIE-LCH | lch(51.43, 57.88, 303.13°) |
| OKLab | oklab(59.4% 0.0539 -0.137) |
| OKLCH | oklch(59.4% 0.147 291.5) |
| XYZ | xyz(25.4486, 19.6381, 60.8303) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 6.37
Light Indigo
#6D5ACF
ΔE00 6.44
Deep Lilac
#966EBD
ΔE00 6.67
Purpley
#8756E4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816BCE #B8CE6B
analogous
#6B87CE #816BCE #B36BCE
triadic
#816BCE #CE816B #6BCE81
tetradic
#816BCE #CE6B87 #B8CE6B #6BCEB3
square
#816BCE #CE6B87 #B8CE6B #6BCEB3
split-complementary
#816BCE #CEB36B #87CE6B
monochromatic
#452F8F #5B3FBD #816BCE #A899DD #CFC7EC
Accessibility & contrast
On white
4.26
#816BCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#816BCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816BCE
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816BCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816BCE | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#6D7F93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #816bce; /* rgb */ color: rgb(129, 107, 206); /* oklch */ color: oklch(59.4% 0.147 291.5);
Tailwind
colors: {
custom: {
50: '#a995dd',
500: '#816bce',
950: '#000000',
},
}SCSS
$custom: #816bce; $custom-light: #a995dd; $custom-dark: #000000;
JSON
{
"hex": "#816bce",
"rgb": {
"r": 129,
"g": 107,
"b": 206
},
"hsl": {
"h": 253.333,
"s": 50.254,
"l": 61.373
},
"oklch": {
"l": 0.59405,
"c": 0.1472,
"h": 291.5
},
"luminance": 0.19639
}Semantic roles & 50–950 ramp
primary
#816BCE
secondary
#D5DDB8
accent
#BE289C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83