#8A44B3#8A44B3
#8A44B3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 310.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A44B3 |
|---|---|
| RGB | rgb(138, 68, 179) |
| HSL | hsl(278, 45%, 48%) |
| HSV | hsv(278, 62%, 70%) |
| CMYK | cmyk(22.9%, 62%, 0%, 29.8%) |
| CIE-LAB | lab(42.45, 48.81, -47.11) |
| CIE-LCH | lch(42.45, 67.84, 316.01°) |
| OKLab | oklab(52.49% 0.1147 -0.1326) |
| OKLCH | oklch(52.49% 0.175 310.8) |
| XYZ | xyz(20.6835, 12.7926, 44.0187) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.90
Darkorchid
#9932CC
ΔE00 4.70
Royal Purple
#7851A9
ΔE00 4.97
Medium Purple
#9E43A2
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.95
Deep Lavender
#8D5EB7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A44B3 #6DB344
analogous
#5244B3 #8A44B3 #B344A4
triadic
#8A44B3 #B38A44 #44B38A
tetradic
#8A44B3 #B35244 #6DB344 #44A4B3
square
#8A44B3 #B35244 #6DB344 #44A4B3
split-complementary
#8A44B3 #A4B344 #44B352
monochromatic
#46225A #683387 #8A44B3 #A66DC7 #C199D8
Accessibility & contrast
On white
5.90
#8A44B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8A44B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A44B3
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A44B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A44B3 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#855975
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a44b3; /* rgb */ color: rgb(138, 68, 179); /* oklch */ color: oklch(52.5% 0.175 310.8);
Tailwind
colors: {
custom: {
50: '#af7cca',
500: '#8a44b3',
950: '#000000',
},
}SCSS
$custom: #8a44b3; $custom-light: #af7cca; $custom-dark: #000000;
JSON
{
"hex": "#8a44b3",
"rgb": {
"r": 138,
"g": 68,
"b": 179
},
"hsl": {
"h": 277.838,
"s": 44.939,
"l": 48.431
},
"oklch": {
"l": 0.52488,
"c": 0.17534,
"h": 310.8
},
"luminance": 0.12792
}Semantic roles & 50–950 ramp
primary
#8A44B3
secondary
#A2C48E
accent
#D55383
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82