#8A6FC3#8A6FC3
#8A6FC3 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.127 H 297.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FC3 |
|---|---|
| RGB | rgb(138, 111, 195) |
| HSL | hsl(259, 41%, 60%) |
| HSV | hsv(259, 43%, 76%) |
| CMYK | cmyk(29.2%, 43.1%, 0%, 23.5%) |
| CIE-LAB | lab(52.63, 28.80, -40.22) |
| CIE-LCH | lch(52.63, 49.47, 305.61°) |
| OKLab | oklab(60.32% 0.0581 -0.1126) |
| OKLCH | oklch(60.32% 0.127 297.3) |
| XYZ | xyz(26.0136, 20.7120, 54.2465) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.52
Mediumpurple
#9370DB
ΔE00 4.20
Deep Lavender
#8D5EB7
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 6.38
Soft Purple
#A66FB5
ΔE00 8.24
Wisteria
#A87DC2
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FC3 #A8C36F
analogous
#6F7EC3 #8A6FC3 #B46FC3
triadic
#8A6FC3 #C38A6F #6FC38A
tetradic
#8A6FC3 #C36F7E #A8C36F #6FC3B4
square
#8A6FC3 #C36F7E #A8C36F #6FC3B4
split-complementary
#8A6FC3 #C3B46F #7EC36F
monochromatic
#4E3682 #6848AD #8A6FC3 #AD9AD5 #D0C5E7
Accessibility & contrast
On white
4.08
#8A6FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8A6FC3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FC3
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FC3 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#577EC6
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#7E7E90
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a6fc3; /* rgb */ color: rgb(138, 111, 195); /* oklch */ color: oklch(60.3% 0.127 297.3);
Tailwind
colors: {
custom: {
50: '#ae98d5',
500: '#8a6fc3',
950: '#000000',
},
}SCSS
$custom: #8a6fc3; $custom-light: #ae98d5; $custom-dark: #000000;
JSON
{
"hex": "#8a6fc3",
"rgb": {
"r": 138,
"g": 111,
"b": 195
},
"hsl": {
"h": 259.286,
"s": 41.176,
"l": 60
},
"oklch": {
"l": 0.60323,
"c": 0.12673,
"h": 297.3
},
"luminance": 0.20712
}Semantic roles & 50–950 ramp
primary
#8A6FC3
secondary
#CDD7B7
accent
#D157AA
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83