#8A61CD#8A61CD
#8A61CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.162 H 298.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A61CD |
|---|---|
| RGB | rgb(138, 97, 205) |
| HSL | hsl(263, 52%, 59%) |
| HSV | hsv(263, 53%, 80%) |
| CMYK | cmyk(32.7%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(49.93, 39.44, -50.23) |
| CIE-LCH | lch(49.93, 63.87, 308.14°) |
| OKLab | oklab(58.48% 0.0781 -0.1419) |
| OKLCH | oklch(58.48% 0.162 298.8) |
| XYZ | xyz(25.7727, 18.3602, 59.9318) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.33
Purpley
#8756E4
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 6.19
Deep Lilac
#966EBD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A61CD #A4CD61
analogous
#616ECD #8A61CD #C061CD
triadic
#8A61CD #CD8A61 #61CD8A
tetradic
#8A61CD #CD616E #A4CD61 #61CDC0
square
#8A61CD #CD616E #A4CD61 #61CDC0
split-complementary
#8A61CD #CDC061 #6ECD61
monochromatic
#4F2B88 #693AB7 #8A61CD #AC8FDC #CFBEEA
Accessibility & contrast
On white
4.49
#8A61CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#8A61CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A61CD
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A61CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A61CD | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#7C768E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a61cd; /* rgb */ color: rgb(138, 97, 205); /* oklch */ color: oklch(58.5% 0.162 298.8);
Tailwind
colors: {
custom: {
50: '#af8fdd',
500: '#8a61cd',
950: '#000000',
},
}SCSS
$custom: #8a61cd; $custom-light: #af8fdd; $custom-dark: #000000;
JSON
{
"hex": "#8a61cd",
"rgb": {
"r": 138,
"g": 97,
"b": 205
},
"hsl": {
"h": 262.778,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.58476,
"c": 0.16195,
"h": 298.8
},
"luminance": 0.1836
}Semantic roles & 50–950 ramp
primary
#8A61CD
secondary
#CADAB0
accent
#DB4CA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83