#8A61B3#8A61B3
#8A61B3 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.129 H 305.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A61B3 |
|---|---|
| RGB | rgb(138, 97, 179) |
| HSL | hsl(270, 35%, 54%) |
| HSV | hsv(270, 46%, 70%) |
| CMYK | cmyk(22.9%, 45.8%, 0%, 29.8%) |
| CIE-LAB | lab(48.52, 32.98, -37.46) |
| CIE-LCH | lch(48.52, 49.91, 311.36°) |
| OKLab | oklab(56.97% 0.0754 -0.1046) |
| OKLCH | oklch(56.97% 0.129 305.8) |
| XYZ | xyz(22.8909, 17.2075, 44.7545) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.35
Amethyst
#9B5FC0
ΔE00 3.92
Deep Lilac
#966EBD
ΔE00 4.81
Royal Purple
#7851A9
ΔE00 6.07
Dark Lavender
#856798
ΔE00 7.01
Dark Lilac
#9C6DA5
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A61B3 #8AB361
analogous
#6161B3 #8A61B3 #B361B3
triadic
#8A61B3 #B38A61 #61B38A
tetradic
#8A61B3 #B36161 #8AB361 #61B3B3
square
#8A61B3 #B36161 #8AB361 #61B3B3
split-complementary
#8A61B3 #B3B361 #61B361
monochromatic
#4D3268 #6B4691 #8A61B3 #A98AC7 #C7B4DB
Accessibility & contrast
On white
4.73
#8A61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#8A61B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A61B3
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A61B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A61B3 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#846F81
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a61b3; /* rgb */ color: rgb(138, 97, 179); /* oklch */ color: oklch(57.0% 0.129 305.8);
Tailwind
colors: {
custom: {
50: '#ae8fca',
500: '#8a61b3',
950: '#000000',
},
}SCSS
$custom: #8a61b3; $custom-light: #ae8fca; $custom-dark: #000000;
JSON
{
"hex": "#8a61b3",
"rgb": {
"r": 138,
"g": 97,
"b": 179
},
"hsl": {
"h": 270,
"s": 35.043,
"l": 54.118
},
"oklch": {
"l": 0.56968,
"c": 0.12892,
"h": 305.8
},
"luminance": 0.17207
}Semantic roles & 50–950 ramp
primary
#8A61B3
secondary
#B8C9A6
accent
#CB5D94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82