#856FC2#856FC2
#856FC2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.8% C 0.125 H 294.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #856FC2 |
|---|---|
| RGB | rgb(133, 111, 194) |
| HSL | hsl(256, 40%, 60%) |
| HSV | hsv(256, 43%, 76%) |
| CMYK | cmyk(31.4%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(52.12, 27.14, -40.49) |
| CIE-LCH | lch(52.12, 48.74, 303.83°) |
| OKLab | oklab(59.81% 0.0518 -0.1135) |
| OKLCH | oklch(59.81% 0.125 294.5) |
| XYZ | xyz(25.0925, 20.2501, 53.6151) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.58
Mediumpurple
#9370DB
ΔE00 4.69
Deep Lavender
#8D5EB7
ΔE00 6.33
Amethyst
#9B5FC0
ΔE00 7.24
Mediumslateblue
#7B68EE
ΔE00 7.88
Dark Periwinkle
#665FD1
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856FC2 #ACC26F
analogous
#6F82C2 #856FC2 #AF6FC2
triadic
#856FC2 #C2856F #6FC285
tetradic
#856FC2 #C26F82 #ACC26F #6FC2AF
square
#856FC2 #C26F82 #ACC26F #6FC2AF
split-complementary
#856FC2 #C2AF6F #82C26F
monochromatic
#4A3680 #6349AB #856FC2 #A99AD4 #CEC5E6
Accessibility & contrast
On white
4.16
#856FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#856FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856FC2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856FC2 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#777E8F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #856fc2; /* rgb */ color: rgb(133, 111, 194); /* oklch */ color: oklch(59.8% 0.125 294.5);
Tailwind
colors: {
custom: {
50: '#ab98d5',
500: '#856fc2',
950: '#000000',
},
}SCSS
$custom: #856fc2; $custom-light: #ab98d5; $custom-dark: #000000;
JSON
{
"hex": "#856fc2",
"rgb": {
"r": 133,
"g": 111,
"b": 194
},
"hsl": {
"h": 255.904,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.59808,
"c": 0.1248,
"h": 294.5
},
"luminance": 0.2025
}Semantic roles & 50–950 ramp
primary
#856FC2
secondary
#CED6B6
accent
#D057B0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83