#8A48B7#8A48B7
#8A48B7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.174 H 309.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A48B7 |
|---|---|
| RGB | rgb(138, 72, 183) |
| HSL | hsl(276, 44%, 50%) |
| HSV | hsv(276, 61%, 72%) |
| CMYK | cmyk(24.6%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(43.44, 47.69, -47.87) |
| CIE-LCH | lch(43.44, 67.57, 314.89°) |
| OKLab | oklab(53.29% 0.1096 -0.1349) |
| OKLCH | oklch(53.29% 0.174 309.1) |
| XYZ | xyz(21.3442, 13.4573, 46.2637) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.45
Royal Purple
#7851A9
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 4.83
Deep Lavender
#8D5EB7
ΔE00 6.04
Medium Purple
#9E43A2
ΔE00 6.60
Amethyst
#9B5FC0
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A48B7 #75B748
analogous
#5348B7 #8A48B7 #B748AC
triadic
#8A48B7 #B78A48 #48B78A
tetradic
#8A48B7 #B75348 #75B748 #48ACB7
square
#8A48B7 #B75348 #75B748 #48ACB7
split-complementary
#8A48B7 #ACB748 #48B753
monochromatic
#48255F #69378B #8A48B7 #A674C8 #C2A0DA
Accessibility & contrast
On white
5.69
#8A48B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8A48B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A48B7
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A48B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A48B7 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#3968B4
Tritanopia (blue-blind)
#845D79
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a48b7; /* rgb */ color: rgb(138, 72, 183); /* oklch */ color: oklch(53.3% 0.174 309.1);
Tailwind
colors: {
custom: {
50: '#af7ecd',
500: '#8a48b7',
950: '#000000',
},
}SCSS
$custom: #8a48b7; $custom-light: #af7ecd; $custom-dark: #000000;
JSON
{
"hex": "#8a48b7",
"rgb": {
"r": 138,
"g": 72,
"b": 183
},
"hsl": {
"h": 275.676,
"s": 43.529,
"l": 50
},
"oklch": {
"l": 0.5329,
"c": 0.17381,
"h": 309.1
},
"luminance": 0.13457
}Semantic roles & 50–950 ramp
primary
#8A48B7
secondary
#A9C695
accent
#D35588
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82