#8566EF#8566EF
#8566EF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.0% C 0.197 H 289.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8566EF |
|---|---|
| RGB | rgb(133, 102, 239) |
| HSL | hsl(254, 81%, 67%) |
| HSV | hsv(254, 57%, 94%) |
| CMYK | cmyk(44.4%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(52.64, 44.56, -65.13) |
| CIE-LCH | lch(52.64, 78.91, 304.38°) |
| OKLab | oklab(61.04% 0.0664 -0.1858) |
| OKLCH | oklch(61.04% 0.197 289.7) |
| XYZ | xyz(29.9998, 20.7202, 84.0633) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.90
Purpley
#8756E4
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 5.11
Lighter Purple
#A55AF4
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 7.28
Dark Periwinkle
#665FD1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8566EF #D0EF66
analogous
#668CEF #8566EF #CA66EF
triadic
#8566EF #EF8566 #66EF85
tetradic
#8566EF #EF668C #D0EF66 #66EFCA
square
#8566EF #EF668C #D0EF66 #66EFCA
split-complementary
#8566EF #EFCA66 #8CEF66
monochromatic
#3D15C6 #592FE9 #8566EF #B19DF5 #DDD5FB
Accessibility & contrast
On white
4.08
#8566EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8566EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8566EF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8566EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8566EF | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0C7AEC
Tritanopia (blue-blind)
#6585A1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8566ef; /* rgb */ color: rgb(133, 102, 239); /* oklch */ color: oklch(61.0% 0.197 289.7);
Tailwind
colors: {
custom: {
50: '#af93f5',
500: '#8566ef',
950: '#000000',
},
}SCSS
$custom: #8566ef; $custom-light: #af93f5; $custom-dark: #000000;
JSON
{
"hex": "#8566ef",
"rgb": {
"r": 133,
"g": 102,
"b": 239
},
"hsl": {
"h": 253.577,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.61036,
"c": 0.19728,
"h": 289.7
},
"luminance": 0.20721
}Semantic roles & 50–950 ramp
primary
#8566EF
secondary
#E4EEC2
accent
#DD08AD
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85