#8A6FCE#8A6FCE
#8A6FCE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 60.9% C 0.142 H 295.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FCE |
|---|---|
| RGB | rgb(138, 111, 206) |
| HSL | hsl(257, 49%, 62%) |
| HSV | hsv(257, 46%, 81%) |
| CMYK | cmyk(33%, 46.1%, 0%, 19.2%) |
| CIE-LAB | lab(53.20, 31.64, -45.60) |
| CIE-LCH | lch(53.20, 55.51, 304.76°) |
| OKLab | oklab(60.93% 0.0597 -0.1283) |
| OKLCH | oklch(60.93% 0.142 295) |
| XYZ | xyz(27.3034, 21.2279, 61.0395) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.54
Deep Lilac
#966EBD
ΔE00 4.99
Mediumslateblue
#7B68EE
ΔE00 6.38
Deep Lavender
#8D5EB7
ΔE00 6.82
Amethyst
#9B5FC0
ΔE00 6.98
Purpley
#8756E4
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FCE #B3CE6F
analogous
#6F83CE #8A6FCE #BA6FCE
triadic
#8A6FCE #CE8A6F #6FCE8A
tetradic
#8A6FCE #CE6F83 #B3CE6F #6FCEBA
square
#8A6FCE #CE6F83 #B3CE6F #6FCEBA
split-complementary
#8A6FCE #CEBA6F #83CE6F
monochromatic
#4D3191 #6541BE #8A6FCE #AF9DDE #D4CAED
Accessibility & contrast
On white
4.00
#8A6FCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#8A6FCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FCE
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FCE | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#7B8195
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a6fce; /* rgb */ color: rgb(138, 111, 206); /* oklch */ color: oklch(60.9% 0.142 295.0);
Tailwind
colors: {
custom: {
50: '#af99dd',
500: '#8a6fce',
950: '#000000',
},
}SCSS
$custom: #8a6fce; $custom-light: #af99dd; $custom-dark: #000000;
JSON
{
"hex": "#8a6fce",
"rgb": {
"r": 138,
"g": 111,
"b": 206
},
"hsl": {
"h": 257.053,
"s": 49.223,
"l": 62.157
},
"oklch": {
"l": 0.60933,
"c": 0.14155,
"h": 295
},
"luminance": 0.21228
}Semantic roles & 50–950 ramp
primary
#8A6FCE
secondary
#D4DEBB
accent
#BD2993
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83