#856FD4#856FD4
#856FD4 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.8% C 0.149 H 291.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #856FD4 |
|---|---|
| RGB | rgb(133, 111, 212) |
| HSL | hsl(253, 54%, 63%) |
| HSV | hsv(253, 48%, 83%) |
| CMYK | cmyk(37.3%, 47.6%, 0%, 16.9%) |
| CIE-LAB | lab(53.07, 31.94, -49.25) |
| CIE-LCH | lch(53.07, 58.70, 302.97°) |
| OKLab | oklab(60.83% 0.0543 -0.1391) |
| OKLCH | oklch(60.83% 0.149 291.3) |
| XYZ | xyz(27.2378, 21.1082, 64.9138) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.94
Mediumslateblue
#7B68EE
ΔE00 4.89
Deep Lilac
#966EBD
ΔE00 6.68
Purpley
#8756E4
ΔE00 7.43
Dark Periwinkle
#665FD1
ΔE00 7.59
Light Indigo
#6D5ACF
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856FD4 #BED46F
analogous
#6F8BD4 #856FD4 #B76FD4
triadic
#856FD4 #D4856F #6FD485
tetradic
#856FD4 #D46F8B #BED46F #6FD4B7
square
#856FD4 #D46F8B #BED46F #6FD4B7
split-complementary
#856FD4 #D4B76F #8BD46F
monochromatic
#462E9A #5D40C6 #856FD4 #AD9EE2 #D5CDF0
Accessibility & contrast
On white
4.02
#856FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#856FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856FD4
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856FD4 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A80D8
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#718397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #856fd4; /* rgb */ color: rgb(133, 111, 212); /* oklch */ color: oklch(60.8% 0.149 291.3);
Tailwind
colors: {
custom: {
50: '#ac98e2',
500: '#856fd4',
950: '#000000',
},
}SCSS
$custom: #856fd4; $custom-light: #ac98e2; $custom-dark: #000000;
JSON
{
"hex": "#856fd4",
"rgb": {
"r": 133,
"g": 111,
"b": 212
},
"hsl": {
"h": 253.069,
"s": 54.011,
"l": 63.333
},
"oklch": {
"l": 0.60831,
"c": 0.14935,
"h": 291.3
},
"luminance": 0.21109
}Semantic roles & 50–950 ramp
primary
#856FD4
secondary
#DAE1BD
accent
#C1249F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83