#8A6FC2#8A6FC2
#8A6FC2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.125 H 297.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FC2 |
|---|---|
| RGB | rgb(138, 111, 194) |
| HSL | hsl(260, 40%, 60%) |
| HSV | hsv(260, 43%, 76%) |
| CMYK | cmyk(28.9%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(52.58, 28.55, -39.72) |
| CIE-LCH | lch(52.58, 48.92, 305.70°) |
| OKLab | oklab(60.27% 0.0579 -0.1112) |
| OKLCH | oklch(60.27% 0.125 297.5) |
| XYZ | xyz(25.9010, 20.6669, 53.6530) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.40
Mediumpurple
#9370DB
ΔE00 4.37
Deep Lavender
#8D5EB7
ΔE00 5.82
Amethyst
#9B5FC0
ΔE00 6.35
Soft Purple
#A66FB5
ΔE00 8.12
Wisteria
#A87DC2
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FC2 #A7C26F
analogous
#6F7EC2 #8A6FC2 #B46FC2
triadic
#8A6FC2 #C28A6F #6FC28A
tetradic
#8A6FC2 #C26F7E #A7C26F #6FC2B4
square
#8A6FC2 #C26F7E #A7C26F #6FC2B4
split-complementary
#8A6FC2 #C2B46F #7EC26F
monochromatic
#4E3680 #6949AB #8A6FC2 #AD9AD4 #D0C5E6
Accessibility & contrast
On white
4.09
#8A6FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8A6FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FC2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FC2 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 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)
#577EC5
Deuteranopia (green-blind)
#5C7DC0
Tritanopia (blue-blind)
#7F7E8F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a6fc2; /* rgb */ color: rgb(138, 111, 194); /* oklch */ color: oklch(60.3% 0.125 297.5);
Tailwind
colors: {
custom: {
50: '#ae98d5',
500: '#8a6fc2',
950: '#000000',
},
}SCSS
$custom: #8a6fc2; $custom-light: #ae98d5; $custom-dark: #000000;
JSON
{
"hex": "#8a6fc2",
"rgb": {
"r": 138,
"g": 111,
"b": 194
},
"hsl": {
"h": 259.518,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.60269,
"c": 0.12538,
"h": 297.5
},
"luminance": 0.20667
}Semantic roles & 50–950 ramp
primary
#8A6FC2
secondary
#CCD6B6
accent
#D057A9
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83