#8A4BBC#8A4BBC
#8A4BBC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.175 H 307.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BBC |
|---|---|
| RGB | rgb(138, 75, 188) |
| HSL | hsl(273, 46%, 52%) |
| HSV | hsv(273, 60%, 74%) |
| CMYK | cmyk(26.6%, 60.1%, 0%, 26.3%) |
| CIE-LAB | lab(44.33, 47.30, -49.38) |
| CIE-LCH | lch(44.33, 68.37, 313.77°) |
| OKLab | oklab(54.03% 0.1058 -0.1393) |
| OKLCH | oklch(54.03% 0.175 307.2) |
| XYZ | xyz(22.0725, 14.0665, 49.1195) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 4.99
Deep Lavender
#8D5EB7
ΔE00 5.44
Amethyst
#9B5FC0
ΔE00 6.75
Purpley
#8756E4
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BBC #7DBC4B
analogous
#524BBC #8A4BBC #BC4BB6
triadic
#8A4BBC #BC8A4B #4BBC8A
tetradic
#8A4BBC #BC524B #7DBC4B #4BB6BC
square
#8A4BBC #BC524B #7DBC4B #4BB6BC
split-complementary
#8A4BBC #B6BC4B #4BBC52
monochromatic
#4A2666 #6A3793 #8A4BBC #A778CD #C4A4DD
Accessibility & contrast
On white
5.51
#8A4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8A4BBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BBC
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BBC | 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)
#1967C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#82617C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4bbc; /* rgb */ color: rgb(138, 75, 188); /* oklch */ color: oklch(54.0% 0.175 307.2);
Tailwind
colors: {
custom: {
50: '#af80d1',
500: '#8a4bbc',
950: '#000000',
},
}SCSS
$custom: #8a4bbc; $custom-light: #af80d1; $custom-dark: #000000;
JSON
{
"hex": "#8a4bbc",
"rgb": {
"r": 138,
"g": 75,
"b": 188
},
"hsl": {
"h": 273.451,
"s": 45.749,
"l": 51.569
},
"oklch": {
"l": 0.54032,
"c": 0.17494,
"h": 307.2
},
"luminance": 0.14066
}Semantic roles & 50–950 ramp
primary
#8A4BBC
secondary
#AFCA99
accent
#D5528C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82