#8456F2#8456F2
#8456F2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.222 H 291.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8456F2 |
|---|---|
| RGB | rgb(132, 86, 242) |
| HSL | hsl(258, 86%, 64%) |
| HSV | hsv(258, 64%, 95%) |
| CMYK | cmyk(45.5%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(49.46, 53.93, -71.96) |
| CIE-LCH | lch(49.46, 89.93, 306.85°) |
| OKLab | oklab(58.76% 0.0818 -0.2059) |
| OKLCH | oklch(58.76% 0.222 291.7) |
| XYZ | xyz(28.8660, 17.9709, 85.9350) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.01
Mediumslateblue
#7B68EE
ΔE00 5.03
Lighter Purple
#A55AF4
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.20
Lightish Purple
#A552E6
ΔE00 6.23
Slate Blue
#6A5ACD
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8456F2 #C4F256
analogous
#5676F2 #8456F2 #D256F2
triadic
#8456F2 #F28456 #56F284
tetradic
#8456F2 #F25676 #C4F256 #56F2D2
square
#8456F2 #F25676 #C4F256 #56F2D2
split-complementary
#8456F2 #F2D256 #76F256
monochromatic
#430FBF #5B1DEE #8456F2 #AD8FF6 #D7C8FB
Accessibility & contrast
On white
4.57
#8456F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8456F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8456F2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8456F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8456F2 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#637B9D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8456f2; /* rgb */ color: rgb(132, 86, 242); /* oklch */ color: oklch(58.8% 0.222 291.7);
Tailwind
colors: {
custom: {
50: '#b088f7',
500: '#8456f2',
950: '#000000',
},
}SCSS
$custom: #8456f2; $custom-light: #b088f7; $custom-dark: #000000;
JSON
{
"hex": "#8456f2",
"rgb": {
"r": 132,
"g": 86,
"b": 242
},
"hsl": {
"h": 257.692,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.58761,
"c": 0.22157,
"h": 291.7
},
"luminance": 0.17972
}Semantic roles & 50–950 ramp
primary
#8456F2
secondary
#DDEDB7
accent
#E203A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85