#8A4ABF#8A4ABF
#8A4ABF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.180 H 306.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4ABF |
|---|---|
| RGB | rgb(138, 74, 191) |
| HSL | hsl(273, 48%, 52%) |
| HSV | hsv(273, 61%, 75%) |
| CMYK | cmyk(27.7%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(44.32, 48.52, -51.13) |
| CIE-LCH | lch(44.32, 70.49, 313.50°) |
| OKLab | oklab(54.09% 0.107 -0.1445) |
| OKLCH | oklch(54.09% 0.18 306.5) |
| XYZ | xyz(22.3320, 14.0626, 50.8180) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 4.65
Royal Purple
#7851A9
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.80
Purpley
#8756E4
ΔE00 6.76
Blueviolet
#8A2BE2
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4ABF #7FBF4A
analogous
#504ABF #8A4ABF #BF4AB9
triadic
#8A4ABF #BF8A4A #4ABF8A
tetradic
#8A4ABF #BF504A #7FBF4A #4AB9BF
square
#8A4ABF #BF504A #7FBF4A #4AB9BF
split-complementary
#8A4ABF #B9BF4A #4ABF50
monochromatic
#4B2569 #6A3597 #8A4ABF #A777CF #C4A4DF
Accessibility & contrast
On white
5.51
#8A4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8A4ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4ABF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4ABF | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4abf; /* rgb */ color: rgb(138, 74, 191); /* oklch */ color: oklch(54.1% 0.180 306.5);
Tailwind
colors: {
custom: {
50: '#b080d3',
500: '#8a4abf',
950: '#000000',
},
}SCSS
$custom: #8a4abf; $custom-light: #b080d3; $custom-dark: #000000;
JSON
{
"hex": "#8a4abf",
"rgb": {
"r": 138,
"g": 74,
"b": 191
},
"hsl": {
"h": 272.821,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.54088,
"c": 0.17977,
"h": 306.5
},
"luminance": 0.14062
}Semantic roles & 50–950 ramp
primary
#8A4ABF
secondary
#B0CC99
accent
#D7508E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83