#8A6FC0#8A6FC0
#8A6FC0 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.2% C 0.123 H 298.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FC0 |
|---|---|
| RGB | rgb(138, 111, 192) |
| HSL | hsl(260, 39%, 59%) |
| HSV | hsv(260, 42%, 75%) |
| CMYK | cmyk(28.1%, 42.2%, 0%, 24.7%) |
| CIE-LAB | lab(52.48, 28.04, -38.73) |
| CIE-LCH | lch(52.48, 47.82, 305.90°) |
| OKLab | oklab(60.16% 0.0576 -0.1083) |
| OKLCH | oklch(60.16% 0.123 298) |
| XYZ | xyz(25.6779, 20.5777, 52.4780) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.20
Mediumpurple
#9370DB
ΔE00 4.73
Deep Lavender
#8D5EB7
ΔE00 5.72
Amethyst
#9B5FC0
ΔE00 6.31
Soft Purple
#A66FB5
ΔE00 7.90
Wisteria
#A87DC2
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FC0 #A5C06F
analogous
#6F7DC0 #8A6FC0 #B36FC0
triadic
#8A6FC0 #C08A6F #6FC08A
tetradic
#8A6FC0 #C06F7D #A5C06F #6FC0B3
square
#8A6FC0 #C06F7D #A5C06F #6FC0B3
split-complementary
#8A6FC0 #C0B36F #7DC06F
monochromatic
#4F377E #694AA8 #8A6FC0 #AD9AD3 #CFC4E5
Accessibility & contrast
On white
4.11
#8A6FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8A6FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FC0
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FC0 | 1.00 | 4.11 | 5.12 | 5.12 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587DC3
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#7F7D8E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a6fc0; /* rgb */ color: rgb(138, 111, 192); /* oklch */ color: oklch(60.2% 0.123 298.0);
Tailwind
colors: {
custom: {
50: '#ae98d3',
500: '#8a6fc0',
950: '#000000',
},
}SCSS
$custom: #8a6fc0; $custom-light: #ae98d3; $custom-dark: #000000;
JSON
{
"hex": "#8a6fc0",
"rgb": {
"r": 138,
"g": 111,
"b": 192
},
"hsl": {
"h": 260,
"s": 39.13,
"l": 59.412
},
"oklch": {
"l": 0.60162,
"c": 0.12267,
"h": 298
},
"luminance": 0.20578
}Semantic roles & 50–950 ramp
primary
#8A6FC0
secondary
#CBD5B6
accent
#CF59A8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83