#8A6BCA#8A6BCA
#8A6BCA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.142 H 296.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6BCA |
|---|---|
| RGB | rgb(138, 107, 202) |
| HSL | hsl(260, 47%, 61%) |
| HSV | hsv(260, 47%, 79%) |
| CMYK | cmyk(31.7%, 47%, 0%, 20.8%) |
| CIE-LAB | lab(52.04, 32.93, -45.16) |
| CIE-LCH | lch(52.04, 55.89, 306.10°) |
| OKLab | oklab(60% 0.0646 -0.127) |
| OKLCH | oklch(60% 0.143 296.9) |
| XYZ | xyz(26.3970, 20.1826, 58.3706) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.30
Deep Lilac
#966EBD
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 5.42
Amethyst
#9B5FC0
ΔE00 5.81
Mediumslateblue
#7B68EE
ΔE00 6.76
Purpley
#8756E4
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6BCA #ABCA6B
analogous
#6B7BCA #8A6BCA #B96BCA
triadic
#8A6BCA #CA8A6B #6BCA8A
tetradic
#8A6BCA #CA6B7B #ABCA6B #6BCAB9
square
#8A6BCA #CA6B7B #ABCA6B #6BCAB9
split-complementary
#8A6BCA #CAB96B #7BCA6B
monochromatic
#4E3189 #6841B6 #8A6BCA #AE98DA #D1C5EA
Accessibility & contrast
On white
4.17
#8A6BCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A6BCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6BCA
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6BCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6BCA | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#7C7D91
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a6bca; /* rgb */ color: rgb(138, 107, 202); /* oklch */ color: oklch(60.0% 0.142 296.9);
Tailwind
colors: {
custom: {
50: '#af96da',
500: '#8a6bca',
950: '#000000',
},
}SCSS
$custom: #8a6bca; $custom-light: #af96da; $custom-dark: #000000;
JSON
{
"hex": "#8a6bca",
"rgb": {
"r": 138,
"g": 107,
"b": 202
},
"hsl": {
"h": 259.579,
"s": 47.264,
"l": 60.588
},
"oklch": {
"l": 0.59997,
"c": 0.1425,
"h": 296.9
},
"luminance": 0.20183
}Semantic roles & 50–950 ramp
primary
#8A6BCA
secondary
#CFDAB6
accent
#BB2B8C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83