#8A61BE#8A61BE
#8A61BE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.143 H 302.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8A61BE |
|---|---|
| RGB | rgb(138, 97, 190) |
| HSL | hsl(266, 42%, 56%) |
| HSV | hsv(266, 49%, 75%) |
| CMYK | cmyk(27.4%, 48.9%, 0%, 25.5%) |
| CIE-LAB | lab(49.09, 35.66, -42.94) |
| CIE-LCH | lch(49.09, 55.82, 309.71°) |
| OKLab | oklab(57.58% 0.0768 -0.1205) |
| OKLCH | oklch(57.58% 0.143 302.5) |
| XYZ | xyz(24.0481, 17.6704, 50.8490) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.88
Amethyst
#9B5FC0
ΔE00 3.72
Deep Lilac
#966EBD
ΔE00 5.02
Royal Purple
#7851A9
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 6.57
Purpley
#8756E4
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A61BE #95BE61
analogous
#6167BE #8A61BE #B961BE
triadic
#8A61BE #BE8A61 #61BE8A
tetradic
#8A61BE #BE6167 #95BE61 #61BEB9
square
#8A61BE #BE6167 #95BE61 #61BEB9
split-complementary
#8A61BE #BEB961 #67BE61
monochromatic
#4E3075 #6B42A0 #8A61BE #AA8CD0 #CAB8E2
Accessibility & contrast
On white
4.63
#8A61BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#8A61BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A61BE
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A61BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A61BE | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#817286
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a61be; /* rgb */ color: rgb(138, 97, 190); /* oklch */ color: oklch(57.6% 0.143 302.5);
Tailwind
colors: {
custom: {
50: '#ae8fd2',
500: '#8a61be',
950: '#000000',
},
}SCSS
$custom: #8a61be; $custom-light: #ae8fd2; $custom-dark: #000000;
JSON
{
"hex": "#8a61be",
"rgb": {
"r": 138,
"g": 97,
"b": 190
},
"hsl": {
"h": 266.452,
"s": 41.704,
"l": 56.275
},
"oklch": {
"l": 0.57583,
"c": 0.14293,
"h": 302.5
},
"luminance": 0.1767
}Semantic roles & 50–950 ramp
primary
#8A61BE
secondary
#C0D1AA
accent
#D2569B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82