#8866EF#8866EF
#8866EF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.197 H 290.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8866EF |
|---|---|
| RGB | rgb(136, 102, 239) |
| HSL | hsl(255, 81%, 67%) |
| HSV | hsv(255, 57%, 94%) |
| CMYK | cmyk(43.1%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(52.91, 45.19, -64.67) |
| CIE-LCH | lch(52.91, 78.90, 304.95°) |
| OKLab | oklab(61.3% 0.0702 -0.1843) |
| OKLCH | oklch(61.3% 0.197 290.9) |
| XYZ | xyz(30.4804, 20.9680, 84.0859) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.42
Purpley
#8756E4
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 4.80
Lighter Purple
#A55AF4
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 7.13
Light Indigo
#6D5ACF
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8866EF #CDEF66
analogous
#6688EF #8866EF #CD66EF
triadic
#8866EF #EF8866 #66EF88
tetradic
#8866EF #EF6688 #CDEF66 #66EFCD
square
#8866EF #EF6688 #CDEF66 #66EFCD
split-complementary
#8866EF #EFCD66 #88EF66
monochromatic
#4115C6 #5D2FE9 #8866EF #B39DF5 #DED5FB
Accessibility & contrast
On white
4.04
#8866EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8866EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8866EF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8866EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8866EF | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0281F4
Deuteranopia (green-blind)
#167BEC
Tritanopia (blue-blind)
#6A84A1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8866ef; /* rgb */ color: rgb(136, 102, 239); /* oklch */ color: oklch(61.3% 0.197 290.9);
Tailwind
colors: {
custom: {
50: '#b193f5',
500: '#8866ef',
950: '#000000',
},
}SCSS
$custom: #8866ef; $custom-light: #b193f5; $custom-dark: #000000;
JSON
{
"hex": "#8866ef",
"rgb": {
"r": 136,
"g": 102,
"b": 239
},
"hsl": {
"h": 254.891,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.61302,
"c": 0.19727,
"h": 290.9
},
"luminance": 0.20969
}Semantic roles & 50–950 ramp
primary
#8866EF
secondary
#E3EEC2
accent
#DD08A8
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85