#8A6EBF#8A6EBF
#8A6EBF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.123 H 298.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6EBF |
|---|---|
| RGB | rgb(138, 110, 191) |
| HSL | hsl(261, 39%, 59%) |
| HSV | hsv(261, 42%, 75%) |
| CMYK | cmyk(27.7%, 42.4%, 0%, 25.1%) |
| CIE-LAB | lab(52.19, 28.37, -38.62) |
| CIE-LCH | lch(52.19, 47.92, 306.30°) |
| OKLab | oklab(59.93% 0.0588 -0.108) |
| OKLCH | oklch(59.93% 0.123 298.6) |
| XYZ | xyz(25.4589, 20.3165, 51.8603) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.07
Mediumpurple
#9370DB
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 6.03
Soft Purple
#A66FB5
ΔE00 7.79
Wisteria
#A87DC2
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6EBF #A3BF6E
analogous
#6E7BBF #8A6EBF #B36EBF
triadic
#8A6EBF #BF8A6E #6EBF8A
tetradic
#8A6EBF #BF6E7B #A3BF6E #6EBFB3
square
#8A6EBF #BF6E7B #A3BF6E #6EBFB3
split-complementary
#8A6EBF #BFB36E #7BBF6E
monochromatic
#4F377C #6A49A6 #8A6EBF #AC98D2 #CFC3E4
Accessibility & contrast
On white
4.15
#8A6EBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#8A6EBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6EBF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6EBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6EBF | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#577DC2
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#7F7C8D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a6ebf; /* rgb */ color: rgb(138, 110, 191); /* oklch */ color: oklch(59.9% 0.123 298.6);
Tailwind
colors: {
custom: {
50: '#ae98d2',
500: '#8a6ebf',
950: '#000000',
},
}SCSS
$custom: #8a6ebf; $custom-light: #ae98d2; $custom-dark: #000000;
JSON
{
"hex": "#8a6ebf",
"rgb": {
"r": 138,
"g": 110,
"b": 191
},
"hsl": {
"h": 260.741,
"s": 38.756,
"l": 59.02
},
"oklch": {
"l": 0.59926,
"c": 0.12296,
"h": 298.6
},
"luminance": 0.20317
}Semantic roles & 50–950 ramp
primary
#8A6EBF
secondary
#C9D4B5
accent
#CF59A6
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82