#856FAC#856FAC
#856FAC is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.7% C 0.094 H 300.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #856FAC |
|---|---|
| RGB | rgb(133, 111, 172) |
| HSL | hsl(262, 27%, 55%) |
| HSV | hsv(262, 35%, 67%) |
| CMYK | cmyk(22.7%, 35.5%, 0%, 32.5%) |
| CIE-LAB | lab(51.08, 21.56, -29.42) |
| CIE-LCH | lch(51.08, 36.48, 306.24°) |
| OKLab | oklab(58.67% 0.0473 -0.0815) |
| OKLCH | oklch(58.67% 0.094 300.1) |
| XYZ | xyz(22.8021, 19.3339, 41.5523) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.80
Dark Lavender
#856798
ΔE00 5.19
Deep Lavender
#8D5EB7
ΔE00 6.78
Faded Purple
#916E99
ΔE00 6.84
Dark Lilac
#9C6DA5
ΔE00 6.89
Soft Purple
#A66FB5
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856FAC #96AC6F
analogous
#6F77AC #856FAC #A36FAC
triadic
#856FAC #AC856F #6FAC85
tetradic
#856FAC #AC6F77 #96AC6F #6FACA3
square
#856FAC #AC6F77 #96AC6F #6FACA3
split-complementary
#856FAC #ACA36F #77AC6F
monochromatic
#4A3B66 #67518D #856FAC #A696C2 #C7BDD9
Accessibility & contrast
On white
4.31
#856FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#856FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856FAC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856FAC | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6179AE
Deuteranopia (green-blind)
#6579AA
Tritanopia (blue-blind)
#7E7985
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #856fac; /* rgb */ color: rgb(133, 111, 172); /* oklch */ color: oklch(58.7% 0.094 300.1);
Tailwind
colors: {
custom: {
50: '#a998c5',
500: '#856fac',
950: '#000000',
},
}SCSS
$custom: #856fac; $custom-light: #a998c5; $custom-dark: #000000;
JSON
{
"hex": "#856fac",
"rgb": {
"r": 133,
"g": 111,
"b": 172
},
"hsl": {
"h": 261.639,
"s": 26.872,
"l": 55.49
},
"oklch": {
"l": 0.58674,
"c": 0.09425,
"h": 300.1
},
"luminance": 0.19334
}Semantic roles & 50–950 ramp
primary
#856FAC
secondary
#BFC8AF
accent
#C365A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82