#8A44B4#8A44B4
#8A44B4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.176 H 310.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A44B4 |
|---|---|
| RGB | rgb(138, 68, 180) |
| HSL | hsl(278, 45%, 49%) |
| HSV | hsv(278, 62%, 71%) |
| CMYK | cmyk(23.3%, 62.2%, 0%, 29.4%) |
| CIE-LAB | lab(42.51, 49.03, -47.60) |
| CIE-LCH | lch(42.51, 68.34, 315.85°) |
| OKLab | oklab(52.55% 0.1147 -0.1341) |
| OKLCH | oklch(52.55% 0.176 310.5) |
| XYZ | xyz(20.7850, 12.8332, 44.5533) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Darkorchid
#9932CC
ΔE00 4.59
Royal Purple
#7851A9
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 6.25
Deep Lavender
#8D5EB7
ΔE00 6.96
Barney
#AC1DB8
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A44B4 #6EB444
analogous
#5244B4 #8A44B4 #B444A6
triadic
#8A44B4 #B48A44 #44B48A
tetradic
#8A44B4 #B45244 #6EB444 #44A6B4
square
#8A44B4 #B45244 #6EB444 #44A6B4
split-complementary
#8A44B4 #A6B444 #44B452
monochromatic
#46225B #683388 #8A44B4 #A66DC8 #C19AD9
Accessibility & contrast
On white
5.89
#8A44B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8A44B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A44B4
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A44B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A44B4 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#3866B1
Tritanopia (blue-blind)
#855A76
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a44b4; /* rgb */ color: rgb(138, 68, 180); /* oklch */ color: oklch(52.6% 0.176 310.5);
Tailwind
colors: {
custom: {
50: '#af7ccb',
500: '#8a44b4',
950: '#000000',
},
}SCSS
$custom: #8a44b4; $custom-light: #af7ccb; $custom-dark: #000000;
JSON
{
"hex": "#8a44b4",
"rgb": {
"r": 138,
"g": 68,
"b": 180
},
"hsl": {
"h": 277.5,
"s": 45.161,
"l": 48.627
},
"oklch": {
"l": 0.52552,
"c": 0.17642,
"h": 310.5
},
"luminance": 0.12833
}Semantic roles & 50–950 ramp
primary
#8A44B4
secondary
#A3C58F
accent
#D55384
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82