#8A6FBD#8A6FBD
#8A6FBD is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.0% C 0.119 H 298.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FBD |
|---|---|
| RGB | rgb(138, 111, 189) |
| HSL | hsl(261, 37%, 59%) |
| HSV | hsv(261, 41%, 74%) |
| CMYK | cmyk(27%, 41.3%, 0%, 25.9%) |
| CIE-LAB | lab(52.34, 27.28, -37.24) |
| CIE-LCH | lch(52.34, 46.16, 306.23°) |
| OKLab | oklab(60% 0.057 -0.104) |
| OKLCH | oklch(60% 0.119 298.7) |
| XYZ | xyz(25.3489, 20.4461, 50.7453) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.97
Mediumpurple
#9370DB
ΔE00 5.30
Deep Lavender
#8D5EB7
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.31
Soft Purple
#A66FB5
ΔE00 7.58
Wisteria
#A87DC2
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FBD #A2BD6F
analogous
#6F7BBD #8A6FBD #B16FBD
triadic
#8A6FBD #BD8A6F #6FBD8A
tetradic
#8A6FBD #BD6F7B #A2BD6F #6FBDB1
square
#8A6FBD #BD6F7B #A2BD6F #6FBDB1
split-complementary
#8A6FBD #BDB16F #7BBD6F
monochromatic
#4F387A #6A4BA4 #8A6FBD #AC99D0 #CEC3E3
Accessibility & contrast
On white
4.13
#8A6FBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#8A6FBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FBD
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FBD | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#807C8D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a6fbd; /* rgb */ color: rgb(138, 111, 189); /* oklch */ color: oklch(60.0% 0.119 298.7);
Tailwind
colors: {
custom: {
50: '#ae98d1',
500: '#8a6fbd',
950: '#000000',
},
}SCSS
$custom: #8a6fbd; $custom-light: #ae98d1; $custom-dark: #000000;
JSON
{
"hex": "#8a6fbd",
"rgb": {
"r": 138,
"g": 111,
"b": 189
},
"hsl": {
"h": 260.769,
"s": 37.143,
"l": 58.824
},
"oklch": {
"l": 0.60004,
"c": 0.1186,
"h": 298.7
},
"luminance": 0.20446
}Semantic roles & 50–950 ramp
primary
#8A6FBD
secondary
#C9D3B5
accent
#CD5BA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82