#856BF2#856BF2
#856BF2 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.194 H 288.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #856BF2 |
|---|---|
| RGB | rgb(133, 107, 242) |
| HSL | hsl(252, 84%, 68%) |
| HSV | hsv(252, 56%, 95%) |
| CMYK | cmyk(45%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(53.93, 42.56, -64.72) |
| CIE-LCH | lch(53.93, 77.46, 303.33°) |
| OKLab | oklab(62.05% 0.0609 -0.1845) |
| OKLCH | oklch(62.05% 0.194 288.3) |
| XYZ | xyz(30.9530, 21.9115, 86.5856) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.00
Mediumpurple
#9370DB
ΔE00 4.90
Purpley
#8756E4
ΔE00 6.33
Periwinkle (survey)
#8E82FE
ΔE00 6.80
Lighter Purple
#A55AF4
ΔE00 6.86
Cornflower
#6A79F7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856BF2 #D8F26B
analogous
#6B94F2 #856BF2 #C96BF2
triadic
#856BF2 #F2856B #6BF285
tetradic
#856BF2 #F26B94 #D8F26B #6BF2C9
square
#856BF2 #F26B94 #D8F26B #6BF2C9
split-complementary
#856BF2 #F2C96B #94F26B
monochromatic
#3712D0 #5733ED #856BF2 #B3A3F7 #E2DCFC
Accessibility & contrast
On white
3.90
#856BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#856BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856BF2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856BF2 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#1A7DEF
Tritanopia (blue-blind)
#6389A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #856bf2; /* rgb */ color: rgb(133, 107, 242); /* oklch */ color: oklch(62.1% 0.194 288.3);
Tailwind
colors: {
custom: {
50: '#af96f7',
500: '#856bf2',
950: '#000000',
},
}SCSS
$custom: #856bf2; $custom-light: #af96f7; $custom-dark: #000000;
JSON
{
"hex": "#856bf2",
"rgb": {
"r": 133,
"g": 107,
"b": 242
},
"hsl": {
"h": 251.556,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.6205,
"c": 0.19433,
"h": 288.3
},
"luminance": 0.21913
}Semantic roles & 50–950 ramp
primary
#856BF2
secondary
#E9F1C8
accent
#E005B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85