#816FB2#816FB2
#816FB2 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.102 H 295.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #816FB2 |
|---|---|
| RGB | rgb(129, 111, 178) |
| HSL | hsl(256, 30%, 57%) |
| HSV | hsv(256, 38%, 70%) |
| CMYK | cmyk(27.5%, 37.6%, 0%, 30.2%) |
| CIE-LAB | lab(50.98, 21.84, -33.08) |
| CIE-LCH | lch(50.98, 39.64, 303.44°) |
| OKLab | oklab(58.6% 0.0438 -0.0922) |
| OKLCH | oklch(58.6% 0.102 295.4) |
| XYZ | xyz(22.7717, 19.2501, 44.6268) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.12
Deep Lavender
#8D5EB7
ΔE00 6.72
Dark Lavender
#856798
ΔE00 6.92
Mediumpurple
#9370DB
ΔE00 7.69
Amethyst
#9B5FC0
ΔE00 8.26
Dark Lilac
#9C6DA5
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816FB2 #A0B26F
analogous
#6F7FB2 #816FB2 #A36FB2
triadic
#816FB2 #B2816F #6FB281
tetradic
#816FB2 #B26F7F #A0B26F #6FB2A3
square
#816FB2 #B26F7F #A0B26F #6FB2A3
split-complementary
#816FB2 #B2A36F #7FB26F
monochromatic
#483A6D #624F94 #816FB2 #A497C7 #C7BFDD
Accessibility & contrast
On white
4.33
#816FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#816FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #816FB2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##816FB2 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#6078B0
Tritanopia (blue-blind)
#777B88
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #816fb2; /* rgb */ color: rgb(129, 111, 178); /* oklch */ color: oklch(58.6% 0.102 295.4);
Tailwind
colors: {
custom: {
50: '#a798c9',
500: '#816fb2',
950: '#000000',
},
}SCSS
$custom: #816fb2; $custom-light: #a798c9; $custom-dark: #000000;
JSON
{
"hex": "#816fb2",
"rgb": {
"r": 129,
"g": 111,
"b": 178
},
"hsl": {
"h": 256.119,
"s": 30.317,
"l": 56.667
},
"oklch": {
"l": 0.58601,
"c": 0.10205,
"h": 295.4
},
"luminance": 0.1925
}Semantic roles & 50–950 ramp
primary
#816FB2
secondary
#C5CCB1
accent
#C761AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82