#856CD5#856CD5
#856CD5 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.155 H 292.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #856CD5 |
|---|---|
| RGB | rgb(133, 108, 213) |
| HSL | hsl(254, 56%, 63%) |
| HSV | hsv(254, 49%, 84%) |
| CMYK | cmyk(37.6%, 49.3%, 0%, 16.5%) |
| CIE-LAB | lab(52.41, 33.97, -50.85) |
| CIE-LCH | lch(52.41, 61.15, 303.74°) |
| OKLab | oklab(60.36% 0.0583 -0.1438) |
| OKLCH | oklch(60.36% 0.155 292.1) |
| XYZ | xyz(27.0425, 20.5151, 65.4729) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.04
Mediumslateblue
#7B68EE
ΔE00 4.45
Purpley
#8756E4
ΔE00 6.47
Deep Lilac
#966EBD
ΔE00 6.78
Dark Periwinkle
#665FD1
ΔE00 7.04
Light Indigo
#6D5ACF
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856CD5 #BCD56C
analogous
#6C87D5 #856CD5 #BA6CD5
triadic
#856CD5 #D5856C #6CD585
tetradic
#856CD5 #D56C87 #BCD56C #6CD5BA
square
#856CD5 #D56C87 #BCD56C #6CD5BA
split-complementary
#856CD5 #D5BA6C #87D56C
monochromatic
#462C9A #5D3CC7 #856CD5 #AD9CE3 #D4CBF0
Accessibility & contrast
On white
4.12
#856CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#856CD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856CD5
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856CD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856CD5 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#718196
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #856cd5; /* rgb */ color: rgb(133, 108, 213); /* oklch */ color: oklch(60.4% 0.155 292.1);
Tailwind
colors: {
custom: {
50: '#ac96e2',
500: '#856cd5',
950: '#000000',
},
}SCSS
$custom: #856cd5; $custom-light: #ac96e2; $custom-dark: #000000;
JSON
{
"hex": "#856cd5",
"rgb": {
"r": 133,
"g": 108,
"b": 213
},
"hsl": {
"h": 254.286,
"s": 55.556,
"l": 62.941
},
"oklch": {
"l": 0.6036,
"c": 0.15519,
"h": 292.1
},
"luminance": 0.20516
}Semantic roles & 50–950 ramp
primary
#856CD5
secondary
#D8E1BB
accent
#C3229D
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83