#8A61B6#8A61B6
#8A61B6 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.133 H 304.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A61B6 |
|---|---|
| RGB | rgb(138, 97, 182) |
| HSL | hsl(269, 37%, 55%) |
| HSV | hsv(269, 47%, 71%) |
| CMYK | cmyk(24.2%, 46.7%, 0%, 28.6%) |
| CIE-LAB | lab(48.67, 33.70, -38.97) |
| CIE-LCH | lch(48.67, 51.52, 310.86°) |
| OKLab | oklab(57.13% 0.0758 -0.109) |
| OKLCH | oklch(57.13% 0.133 304.8) |
| XYZ | xyz(23.1976, 17.3302, 46.3699) |
| Luminance | 0.1733 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.15
Amethyst
#9B5FC0
ΔE00 3.74
Deep Lilac
#966EBD
ΔE00 4.78
Royal Purple
#7851A9
ΔE00 6.10
Dark Lavender
#856798
ΔE00 7.57
Mediumpurple
#9370DB
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A61B6 #8DB661
analogous
#6163B6 #8A61B6 #B561B6
triadic
#8A61B6 #B68A61 #61B68A
tetradic
#8A61B6 #B66163 #8DB661 #61B6B5
square
#8A61B6 #B66163 #8DB661 #61B6B5
split-complementary
#8A61B6 #B6B561 #63B661
monochromatic
#4D316B #6B4595 #8A61B6 #A98BC9 #C8B5DD
Accessibility & contrast
On white
4.70
#8A61B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A61B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A61B6
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A61B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A61B6 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A72B9
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#836F83
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a61b6; /* rgb */ color: rgb(138, 97, 182); /* oklch */ color: oklch(57.1% 0.133 304.8);
Tailwind
colors: {
custom: {
50: '#ae8fcc',
500: '#8a61b6',
950: '#000000',
},
}SCSS
$custom: #8a61b6; $custom-light: #ae8fcc; $custom-dark: #000000;
JSON
{
"hex": "#8a61b6",
"rgb": {
"r": 138,
"g": 97,
"b": 182
},
"hsl": {
"h": 268.941,
"s": 36.797,
"l": 54.706
},
"oklch": {
"l": 0.57132,
"c": 0.13274,
"h": 304.8
},
"luminance": 0.1733
}Semantic roles & 50–950 ramp
primary
#8A61B6
secondary
#BACBA7
accent
#CD5B96
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C13
muted
#7F7D82