#8A6CCF#8A6CCF
#8A6CCF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.148 H 295.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6CCF |
|---|---|
| RGB | rgb(138, 108, 207) |
| HSL | hsl(258, 51%, 62%) |
| HSV | hsv(258, 48%, 81%) |
| CMYK | cmyk(33.3%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(52.55, 33.65, -47.21) |
| CIE-LCH | lch(52.55, 57.97, 305.48°) |
| OKLab | oklab(60.46% 0.0638 -0.133) |
| OKLCH | oklch(60.46% 0.148 295.6) |
| XYZ | xyz(27.1035, 20.6330, 61.5740) |
| Luminance | 0.2063 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.61
Deep Lilac
#966EBD
ΔE00 5.16
Mediumslateblue
#7B68EE
ΔE00 5.99
Deep Lavender
#8D5EB7
ΔE00 6.23
Amethyst
#9B5FC0
ΔE00 6.43
Purpley
#8756E4
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6CCF #B1CF6C
analogous
#6C80CF #8A6CCF #BC6CCF
triadic
#8A6CCF #CF8A6C #6CCF8A
tetradic
#8A6CCF #CF6C80 #B1CF6C #6CCFBC
square
#8A6CCF #CF6C80 #B1CF6C #6CCFBC
split-complementary
#8A6CCF #CFBC6C #80CF6C
monochromatic
#4D2F91 #663EBF #8A6CCF #AF9ADE #D3C8ED
Accessibility & contrast
On white
4.10
#8A6CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8A6CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6CCF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6CCF | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#7A7F94
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a6ccf; /* rgb */ color: rgb(138, 108, 207); /* oklch */ color: oklch(60.5% 0.148 295.6);
Tailwind
colors: {
custom: {
50: '#af96de',
500: '#8a6ccf',
950: '#000000',
},
}SCSS
$custom: #8a6ccf; $custom-light: #af96de; $custom-dark: #000000;
JSON
{
"hex": "#8a6ccf",
"rgb": {
"r": 138,
"g": 108,
"b": 207
},
"hsl": {
"h": 258.182,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.60461,
"c": 0.14755,
"h": 295.6
},
"luminance": 0.20633
}Semantic roles & 50–950 ramp
primary
#8A6CCF
secondary
#D3DEB9
accent
#BE2790
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83