#876FAC#876FAC
#876FAC is a mid, moderate violet. Relative luminance 0.195; OKLCH L 58.9% C 0.095 H 301.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #876FAC |
|---|---|
| RGB | rgb(135, 111, 172) |
| HSL | hsl(264, 27%, 55%) |
| HSV | hsv(264, 35%, 67%) |
| CMYK | cmyk(21.5%, 35.5%, 0%, 32.5%) |
| CIE-LAB | lab(51.27, 22.19, -29.11) |
| CIE-LCH | lch(51.27, 36.60, 307.31°) |
| OKLab | oklab(58.86% 0.0497 -0.0806) |
| OKLCH | oklch(58.86% 0.095 301.7) |
| XYZ | xyz(23.1209, 19.4983, 41.5672) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.49
Dark Lavender
#856798
ΔE00 4.99
Dark Lilac
#9C6DA5
ΔE00 6.36
Faded Purple
#916E99
ΔE00 6.46
Deep Lavender
#8D5EB7
ΔE00 6.67
Soft Purple
#A66FB5
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876FAC #94AC6F
analogous
#6F75AC #876FAC #A56FAC
triadic
#876FAC #AC876F #6FAC87
tetradic
#876FAC #AC6F75 #94AC6F #6FACA5
square
#876FAC #AC6F75 #94AC6F #6FACA5
split-complementary
#876FAC #ACA56F #75AC6F
monochromatic
#4C3B66 #69518D #876FAC #A796C2 #C8BDD9
Accessibility & contrast
On white
4.29
#876FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#876FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876FAC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876FAC | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#817985
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #876fac; /* rgb */ color: rgb(135, 111, 172); /* oklch */ color: oklch(58.9% 0.095 301.7);
Tailwind
colors: {
custom: {
50: '#ab98c5',
500: '#876fac',
950: '#000000',
},
}SCSS
$custom: #876fac; $custom-light: #ab98c5; $custom-dark: #000000;
JSON
{
"hex": "#876fac",
"rgb": {
"r": 135,
"g": 111,
"b": 172
},
"hsl": {
"h": 263.607,
"s": 26.872,
"l": 55.49
},
"oklch": {
"l": 0.58863,
"c": 0.09469,
"h": 301.7
},
"luminance": 0.19498
}Semantic roles & 50–950 ramp
primary
#876FAC
secondary
#BEC8AF
accent
#C3659E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82