#8A44B1#8A44B1
#8A44B1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.173 H 311.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A44B1 |
|---|---|
| RGB | rgb(138, 68, 177) |
| HSL | hsl(279, 44%, 48%) |
| HSV | hsv(279, 62%, 69%) |
| CMYK | cmyk(22%, 61.6%, 0%, 30.6%) |
| CIE-LAB | lab(42.33, 48.36, -46.13) |
| CIE-LCH | lch(42.33, 66.83, 316.35°) |
| OKLab | oklab(52.36% 0.1147 -0.1298) |
| OKLCH | oklch(52.36% 0.173 311.5) |
| XYZ | xyz(20.4827, 12.7123, 42.9612) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.79
Royal Purple
#7851A9
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 4.94
Medium Purple
#9E43A2
ΔE00 5.88
Barney
#AC1DB8
ΔE00 6.92
Deep Lavender
#8D5EB7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A44B1 #6BB144
analogous
#5344B1 #8A44B1 #B144A1
triadic
#8A44B1 #B18A44 #44B18A
tetradic
#8A44B1 #B15344 #6BB144 #44A1B1
square
#8A44B1 #B15344 #6BB144 #44A1B1
split-complementary
#8A44B1 #A1B144 #44B153
monochromatic
#452259 #683385 #8A44B1 #A66CC6 #C198D7
Accessibility & contrast
On white
5.93
#8A44B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8A44B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A44B1
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A44B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A44B1 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1960B4
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#855974
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a44b1; /* rgb */ color: rgb(138, 68, 177); /* oklch */ color: oklch(52.4% 0.173 311.5);
Tailwind
colors: {
custom: {
50: '#af7cc9',
500: '#8a44b1',
950: '#000000',
},
}SCSS
$custom: #8a44b1; $custom-light: #af7cc9; $custom-dark: #000000;
JSON
{
"hex": "#8a44b1",
"rgb": {
"r": 138,
"g": 68,
"b": 177
},
"hsl": {
"h": 278.532,
"s": 44.49,
"l": 48.039
},
"oklch": {
"l": 0.52359,
"c": 0.17319,
"h": 311.5
},
"luminance": 0.12712
}Semantic roles & 50–950 ramp
primary
#8A44B1
secondary
#A1C38D
accent
#D45482
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82