#8A44B5#8A44B5
#8A44B5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.177 H 310.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A44B5 |
|---|---|
| RGB | rgb(138, 68, 181) |
| HSL | hsl(277, 45%, 49%) |
| HSV | hsv(277, 62%, 71%) |
| CMYK | cmyk(23.8%, 62.4%, 0%, 29%) |
| CIE-LAB | lab(42.57, 49.26, -48.09) |
| CIE-LCH | lch(42.57, 68.84, 315.69°) |
| OKLab | oklab(52.62% 0.1146 -0.1355) |
| OKLCH | oklch(52.62% 0.178 310.2) |
| XYZ | xyz(20.8873, 12.8741, 45.0917) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.04
Darkorchid
#9932CC
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 6.38
Deep Lavender
#8D5EB7
ΔE00 6.96
Barney
#AC1DB8
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A44B5 #6FB544
analogous
#5244B5 #8A44B5 #B544A8
triadic
#8A44B5 #B58A44 #44B58A
tetradic
#8A44B5 #B55244 #6FB544 #44A8B5
square
#8A44B5 #B55244 #6FB544 #44A8B5
split-complementary
#8A44B5 #A8B544 #44B552
monochromatic
#46235C #683389 #8A44B5 #A66EC8 #C19AD9
Accessibility & contrast
On white
5.87
#8A44B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8A44B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A44B5
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A44B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A44B5 | 1.00 | 5.87 | 3.57 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F61B9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#845A76
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a44b5; /* rgb */ color: rgb(138, 68, 181); /* oklch */ color: oklch(52.6% 0.177 310.2);
Tailwind
colors: {
custom: {
50: '#af7ccc',
500: '#8a44b5',
950: '#000000',
},
}SCSS
$custom: #8a44b5; $custom-light: #af7ccc; $custom-dark: #000000;
JSON
{
"hex": "#8a44b5",
"rgb": {
"r": 138,
"g": 68,
"b": 181
},
"hsl": {
"h": 277.168,
"s": 45.382,
"l": 48.824
},
"oklch": {
"l": 0.52617,
"c": 0.1775,
"h": 310.2
},
"luminance": 0.12874
}Semantic roles & 50–950 ramp
primary
#8A44B5
secondary
#A4C590
accent
#D55384
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82