#856CE7#856CE7
#856CE7 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.179 H 289.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #856CE7 |
|---|---|
| RGB | rgb(133, 108, 231) |
| HSL | hsl(252, 72%, 66%) |
| HSV | hsv(252, 53%, 91%) |
| CMYK | cmyk(42.4%, 53.2%, 0%, 9.4%) |
| CIE-LAB | lab(53.47, 38.91, -59.31) |
| CIE-LCH | lch(53.47, 70.94, 303.27°) |
| OKLab | oklab(61.49% 0.0595 -0.1687) |
| OKLCH | oklch(61.49% 0.179 289.4) |
| XYZ | xyz(29.4552, 21.4802, 78.1799) |
| Luminance | 0.2148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.34
Mediumpurple
#9370DB
ΔE00 3.81
Purpley
#8756E4
ΔE00 6.19
Lighter Purple
#A55AF4
ΔE00 7.13
Periwinkle (survey)
#8E82FE
ΔE00 7.14
Cornflower
#6A79F7
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856CE7 #CEE76C
analogous
#6C91E7 #856CE7 #C36CE7
triadic
#856CE7 #E7856C #6CE785
tetradic
#856CE7 #E76C91 #CEE76C #6CE7C3
square
#856CE7 #E76C91 #CEE76C #6CE7C3
split-complementary
#856CE7 #E7C36C #91E76C
monochromatic
#3E1EBA #5937DE #856CE7 #B1A1F0 #DCD5F8
Accessibility & contrast
On white
3.97
#856CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#856CE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856CE7
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856CE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856CE7 | 1.00 | 3.97 | 5.30 | 5.30 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#337DE4
Tritanopia (blue-blind)
#69869F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #856ce7; /* rgb */ color: rgb(133, 108, 231); /* oklch */ color: oklch(61.5% 0.179 289.4);
Tailwind
colors: {
custom: {
50: '#ae97ef',
500: '#856ce7',
950: '#000000',
},
}SCSS
$custom: #856ce7; $custom-light: #ae97ef; $custom-dark: #000000;
JSON
{
"hex": "#856ce7",
"rgb": {
"r": 133,
"g": 108,
"b": 231
},
"hsl": {
"h": 252.195,
"s": 71.93,
"l": 66.471
},
"oklch": {
"l": 0.61488,
"c": 0.17884,
"h": 289.4
},
"luminance": 0.21481
}Semantic roles & 50–950 ramp
primary
#856CE7
secondary
#E3EBC3
accent
#D412AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84