#8B66EF#8B66EF
#8B66EF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.197 H 292.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8B66EF |
|---|---|
| RGB | rgb(139, 102, 239) |
| HSL | hsl(256, 81%, 67%) |
| HSV | hsv(256, 57%, 94%) |
| CMYK | cmyk(41.8%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(53.19, 45.84, -64.21) |
| CIE-LCH | lch(53.19, 78.89, 305.52°) |
| OKLab | oklab(61.57% 0.074 -0.1829) |
| OKLCH | oklch(61.57% 0.197 292) |
| XYZ | xyz(30.9746, 21.2228, 84.1090) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.95
Mediumpurple
#9370DB
ΔE00 4.52
Purpley
#8756E4
ΔE00 4.82
Lighter Purple
#A55AF4
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 6.73
Light Urple
#B36FF6
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B66EF #CAEF66
analogous
#6686EF #8B66EF #CF66EF
triadic
#8B66EF #EF8B66 #66EF8B
tetradic
#8B66EF #EF6686 #CAEF66 #66EFCF
square
#8B66EF #EF6686 #CAEF66 #66EFCF
split-complementary
#8B66EF #EFCF66 #86EF66
monochromatic
#4515C6 #612FE9 #8B66EF #B59DF5 #DFD5FB
Accessibility & contrast
On white
4.00
#8B66EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8B66EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B66EF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B66EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B66EF | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0881F4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#6F84A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8b66ef; /* rgb */ color: rgb(139, 102, 239); /* oklch */ color: oklch(61.6% 0.197 292.0);
Tailwind
colors: {
custom: {
50: '#b393f5',
500: '#8b66ef',
950: '#000000',
},
}SCSS
$custom: #8b66ef; $custom-light: #b393f5; $custom-dark: #000000;
JSON
{
"hex": "#8b66ef",
"rgb": {
"r": 139,
"g": 102,
"b": 239
},
"hsl": {
"h": 256.204,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.61572,
"c": 0.1973,
"h": 292
},
"luminance": 0.21224
}Semantic roles & 50–950 ramp
primary
#8B66EF
secondary
#E2EEC2
accent
#DD08A4
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85