#8B6BEC#8B6BEC
#8B6BEC is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.187 H 291.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8B6BEC |
|---|---|
| RGB | rgb(139, 107, 236) |
| HSL | hsl(255, 77%, 67%) |
| HSV | hsv(255, 55%, 93%) |
| CMYK | cmyk(41.1%, 54.7%, 0%, 7.5%) |
| CIE-LAB | lab(54.09, 42.21, -61.09) |
| CIE-LCH | lch(54.09, 74.26, 304.64°) |
| OKLab | oklab(62.17% 0.0683 -0.1737) |
| OKLCH | oklch(62.17% 0.187 291.4) |
| XYZ | xyz(31.0413, 22.0596, 81.9630) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.03
Mediumpurple
#9370DB
ΔE00 3.58
Lighter Purple
#A55AF4
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.02
Periwinkle (survey)
#8E82FE
ΔE00 7.08
Light Urple
#B36FF6
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B6BEC #CCEC6B
analogous
#6B8BEC #8B6BEC #CC6BEC
triadic
#8B6BEC #EC8B6B #6BEC8B
tetradic
#8B6BEC #EC6B8B #CCEC6B #6BECCC
square
#8B6BEC #EC6B8B #CCEC6B #6BECCC
split-complementary
#8B6BEC #ECCC6B #8BEC6B
monochromatic
#4319C4 #6035E5 #8B6BEC #B6A1F3 #E0D7FA
Accessibility & contrast
On white
3.88
#8B6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#8B6BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B6BEC
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B6BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B6BEC | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#7087A1
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8b6bec; /* rgb */ color: rgb(139, 107, 236); /* oklch */ color: oklch(62.2% 0.187 291.4);
Tailwind
colors: {
custom: {
50: '#b296f3',
500: '#8b6bec',
950: '#000000',
},
}SCSS
$custom: #8b6bec; $custom-light: #b296f3; $custom-dark: #000000;
JSON
{
"hex": "#8b6bec",
"rgb": {
"r": 139,
"g": 107,
"b": 236
},
"hsl": {
"h": 254.884,
"s": 77.246,
"l": 67.255
},
"oklch": {
"l": 0.62174,
"c": 0.18664,
"h": 291.4
},
"luminance": 0.2206
}Semantic roles & 50–950 ramp
primary
#8B6BEC
secondary
#E4EEC5
accent
#D90CA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85