#8A44B6#8A44B6
#8A44B6 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.179 H 309.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A44B6 |
|---|---|
| RGB | rgb(138, 68, 182) |
| HSL | hsl(277, 46%, 49%) |
| HSV | hsv(277, 63%, 71%) |
| CMYK | cmyk(24.2%, 62.6%, 0%, 28.6%) |
| CIE-LAB | lab(42.64, 49.49, -48.58) |
| CIE-LCH | lch(42.64, 69.34, 315.53°) |
| OKLab | oklab(52.68% 0.1146 -0.1369) |
| OKLCH | oklch(52.68% 0.179 309.9) |
| XYZ | xyz(20.9902, 12.9153, 45.6341) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.12
Darkorchid
#9932CC
ΔE00 4.38
Royal Purple
#7851A9
ΔE00 5.05
Medium Purple
#9E43A2
ΔE00 6.51
Deep Lavender
#8D5EB7
ΔE00 6.95
Barney
#AC1DB8
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A44B6 #70B644
analogous
#5144B6 #8A44B6 #B644A9
triadic
#8A44B6 #B68A44 #44B68A
tetradic
#8A44B6 #B65144 #70B644 #44A9B6
square
#8A44B6 #B65144 #70B644 #44A9B6
split-complementary
#8A44B6 #A9B644 #44B651
monochromatic
#46235D #683389 #8A44B6 #A66EC9 #C19BDA
Accessibility & contrast
On white
5.86
#8A44B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8A44B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A44B6
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A44B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A44B6 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#845A77
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a44b6; /* rgb */ color: rgb(138, 68, 182); /* oklch */ color: oklch(52.7% 0.179 309.9);
Tailwind
colors: {
custom: {
50: '#af7ccc',
500: '#8a44b6',
950: '#000000',
},
}SCSS
$custom: #8a44b6; $custom-light: #af7ccc; $custom-dark: #000000;
JSON
{
"hex": "#8a44b6",
"rgb": {
"r": 138,
"g": 68,
"b": 182
},
"hsl": {
"h": 276.842,
"s": 45.6,
"l": 49.02
},
"oklch": {
"l": 0.52683,
"c": 0.17857,
"h": 309.9
},
"luminance": 0.12915
}Semantic roles & 50–950 ramp
primary
#8A44B6
secondary
#A5C690
accent
#D55385
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82