#8A4BBE#8A4BBE
#8A4BBE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.177 H 306.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BBE |
|---|---|
| RGB | rgb(138, 75, 190) |
| HSL | hsl(273, 47%, 52%) |
| HSV | hsv(273, 61%, 75%) |
| CMYK | cmyk(27.4%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(44.45, 47.77, -50.34) |
| CIE-LCH | lch(44.45, 69.40, 313.50°) |
| OKLab | oklab(54.16% 0.1058 -0.1421) |
| OKLCH | oklch(54.16% 0.177 306.7) |
| XYZ | xyz(22.2896, 14.1534, 50.2628) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 6.77
Purpley
#8756E4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BBE #7FBE4B
analogous
#514BBE #8A4BBE #BE4BB8
triadic
#8A4BBE #BE8A4B #4BBE8A
tetradic
#8A4BBE #BE514B #7FBE4B #4BB8BE
square
#8A4BBE #BE514B #7FBE4B #4BB8BE
split-complementary
#8A4BBE #B8BE4B #4BBE51
monochromatic
#4B2669 #6A3696 #8A4BBE #A778CE #C4A5DE
Accessibility & contrast
On white
5.48
#8A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8A4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BBE
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BBE | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#82627D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4bbe; /* rgb */ color: rgb(138, 75, 190); /* oklch */ color: oklch(54.2% 0.177 306.7);
Tailwind
colors: {
custom: {
50: '#b080d2',
500: '#8a4bbe',
950: '#000000',
},
}SCSS
$custom: #8a4bbe; $custom-light: #b080d2; $custom-dark: #000000;
JSON
{
"hex": "#8a4bbe",
"rgb": {
"r": 138,
"g": 75,
"b": 190
},
"hsl": {
"h": 272.87,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.54162,
"c": 0.1772,
"h": 306.7
},
"luminance": 0.14153
}Semantic roles & 50–950 ramp
primary
#8A4BBE
secondary
#B0CC99
accent
#D7518E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83