#8A6FBF#8A6FBF
#8A6FBF is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.1% C 0.121 H 298.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FBF |
|---|---|
| RGB | rgb(138, 111, 191) |
| HSL | hsl(260, 38%, 59%) |
| HSV | hsv(260, 42%, 75%) |
| CMYK | cmyk(27.7%, 41.9%, 0%, 25.1%) |
| CIE-LAB | lab(52.44, 27.79, -38.24) |
| CIE-LCH | lch(52.44, 47.27, 306.01°) |
| OKLab | oklab(60.11% 0.0574 -0.1069) |
| OKLCH | oklch(60.11% 0.121 298.2) |
| XYZ | xyz(25.5674, 20.5335, 51.8965) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.12
Mediumpurple
#9370DB
ΔE00 4.92
Deep Lavender
#8D5EB7
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 6.31
Soft Purple
#A66FB5
ΔE00 7.79
Wisteria
#A87DC2
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FBF #A4BF6F
analogous
#6F7CBF #8A6FBF #B26FBF
triadic
#8A6FBF #BF8A6F #6FBF8A
tetradic
#8A6FBF #BF6F7C #A4BF6F #6FBFB2
square
#8A6FBF #BF6F7C #A4BF6F #6FBFB2
split-complementary
#8A6FBF #BFB26F #7CBF6F
monochromatic
#4F377C #694AA7 #8A6FBF #AC99D2 #CFC4E5
Accessibility & contrast
On white
4.11
#8A6FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8A6FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FBF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FBF | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#5E7CBD
Tritanopia (blue-blind)
#7F7D8E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a6fbf; /* rgb */ color: rgb(138, 111, 191); /* oklch */ color: oklch(60.1% 0.121 298.2);
Tailwind
colors: {
custom: {
50: '#ae98d2',
500: '#8a6fbf',
950: '#000000',
},
}SCSS
$custom: #8a6fbf; $custom-light: #ae98d2; $custom-dark: #000000;
JSON
{
"hex": "#8a6fbf",
"rgb": {
"r": 138,
"g": 111,
"b": 191
},
"hsl": {
"h": 260.25,
"s": 38.462,
"l": 59.216
},
"oklch": {
"l": 0.60109,
"c": 0.1213,
"h": 298.2
},
"luminance": 0.20534
}Semantic roles & 50–950 ramp
primary
#8A6FBF
secondary
#CAD5B5
accent
#CE59A7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82