#856FF2#856FF2
#856FF2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.189 H 287.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #856FF2 |
|---|---|
| RGB | rgb(133, 111, 242) |
| HSL | hsl(250, 83%, 69%) |
| HSV | hsv(250, 54%, 95%) |
| CMYK | cmyk(45%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(54.83, 40.27, -63.27) |
| CIE-LCH | lch(54.83, 75.00, 302.48°) |
| OKLab | oklab(62.71% 0.0564 -0.1803) |
| OKLCH | oklch(62.71% 0.189 287.4) |
| XYZ | xyz(31.3797, 22.7650, 86.7279) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.67
Mediumpurple
#9370DB
ΔE00 4.82
Periwinkle (survey)
#8E82FE
ΔE00 5.71
Cornflower
#6A79F7
ΔE00 6.18
Lavender Blue
#8B88F8
ΔE00 7.34
Purpley
#8756E4
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#856FF2 #DCF26F
analogous
#6F9BF2 #856FF2 #C66FF2
triadic
#856FF2 #F2856F #6FF285
tetradic
#856FF2 #F26F9B #DCF26F #6FF2C6
square
#856FF2 #F26F9B #DCF26F #6FF2C6
split-complementary
#856FF2 #F2C66F #9BF26F
monochromatic
#3313D4 #5537ED #856FF2 #B5A7F7 #E4DFFC
Accessibility & contrast
On white
3.78
#856FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#856FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #856FF2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##856FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##856FF2 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#2780EF
Tritanopia (blue-blind)
#638CA6
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #856ff2; /* rgb */ color: rgb(133, 111, 242); /* oklch */ color: oklch(62.7% 0.189 287.4);
Tailwind
colors: {
custom: {
50: '#af99f7',
500: '#856ff2',
950: '#000000',
},
}SCSS
$custom: #856ff2; $custom-light: #af99f7; $custom-dark: #000000;
JSON
{
"hex": "#856ff2",
"rgb": {
"r": 133,
"g": 111,
"b": 242
},
"hsl": {
"h": 250.076,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.62713,
"c": 0.1889,
"h": 287.4
},
"luminance": 0.22766
}Semantic roles & 50–950 ramp
primary
#856FF2
secondary
#EBF1CB
accent
#E006BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85