#8B66DC#8B66DC
#8B66DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.174 H 295.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8B66DC |
|---|---|
| RGB | rgb(139, 102, 220) |
| HSL | hsl(259, 63%, 63%) |
| HSV | hsv(259, 54%, 86%) |
| CMYK | cmyk(36.8%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(52.02, 40.76, -55.42) |
| CIE-LCH | lch(52.02, 68.80, 306.33°) |
| OKLab | oklab(60.33% 0.0738 -0.1571) |
| OKLCH | oklch(60.33% 0.174 295.2) |
| XYZ | xyz(28.3138, 20.1585, 70.0955) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.32
Mediumslateblue
#7B68EE
ΔE00 4.32
Purpley
#8756E4
ΔE00 4.52
Lighter Purple
#A55AF4
ΔE00 5.80
Lightish Purple
#A552E6
ΔE00 6.38
Amethyst
#9B5FC0
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B66DC #B7DC66
analogous
#667CDC #8B66DC #C666DC
triadic
#8B66DC #DC8B66 #66DC8B
tetradic
#8B66DC #DC667C #B7DC66 #66DCC6
square
#8B66DC #DC667C #B7DC66 #66DCC6
split-complementary
#8B66DC #DCC666 #7CDC66
monochromatic
#4C25A2 #6534D1 #8B66DC #B198E7 #D7CAF3
Accessibility & contrast
On white
4.17
#8B66DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8B66DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B66DC
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B66DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B66DC | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#777E97
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b66dc; /* rgb */ color: rgb(139, 102, 220); /* oklch */ color: oklch(60.3% 0.174 295.2);
Tailwind
colors: {
custom: {
50: '#b193e7',
500: '#8b66dc',
950: '#000000',
},
}SCSS
$custom: #8b66dc; $custom-light: #b193e7; $custom-dark: #000000;
JSON
{
"hex": "#8b66dc",
"rgb": {
"r": 139,
"g": 102,
"b": 220
},
"hsl": {
"h": 258.814,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.60328,
"c": 0.17353,
"h": 295.2
},
"luminance": 0.20159
}Semantic roles & 50–950 ramp
primary
#8B66DC
secondary
#D7E4BA
accent
#CB1B93
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84