#8A61BB#8A61BB
#8A61BB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.139 H 303.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A61BB |
|---|---|
| RGB | rgb(138, 97, 187) |
| HSL | hsl(267, 40%, 56%) |
| HSV | hsv(267, 48%, 73%) |
| CMYK | cmyk(26.2%, 48.1%, 0%, 26.7%) |
| CIE-LAB | lab(48.93, 34.92, -41.45) |
| CIE-LCH | lch(48.93, 54.20, 310.11°) |
| OKLab | oklab(57.41% 0.0765 -0.1162) |
| OKLCH | oklch(57.41% 0.139 303.3) |
| XYZ | xyz(23.7236, 17.5406, 49.1399) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.46
Amethyst
#9B5FC0
ΔE00 3.65
Deep Lilac
#966EBD
ΔE00 4.88
Royal Purple
#7851A9
ΔE00 6.28
Mediumpurple
#9370DB
ΔE00 6.96
Purpley
#8756E4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A61BB #92BB61
analogous
#6165BB #8A61BB #B761BB
triadic
#8A61BB #BB8A61 #61BB8A
tetradic
#8A61BB #BB6165 #92BB61 #61BBB7
square
#8A61BB #BB6165 #92BB61 #61BBB7
split-complementary
#8A61BB #BBB761 #65BB61
monochromatic
#4E3171 #6B439C #8A61BB #AA8CCD #C9B7E0
Accessibility & contrast
On white
4.66
#8A61BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8A61BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A61BB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A61BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A61BB | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#817185
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a61bb; /* rgb */ color: rgb(138, 97, 187); /* oklch */ color: oklch(57.4% 0.139 303.3);
Tailwind
colors: {
custom: {
50: '#ae8fd0',
500: '#8a61bb',
950: '#000000',
},
}SCSS
$custom: #8a61bb; $custom-light: #ae8fd0; $custom-dark: #000000;
JSON
{
"hex": "#8a61bb",
"rgb": {
"r": 138,
"g": 97,
"b": 187
},
"hsl": {
"h": 267.333,
"s": 39.823,
"l": 55.686
},
"oklch": {
"l": 0.57412,
"c": 0.13911,
"h": 303.3
},
"luminance": 0.17541
}Semantic roles & 50–950 ramp
primary
#8A61BB
secondary
#BECFA9
accent
#D05899
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82