#8A48B3#8A48B3
#8A48B3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.169 H 310.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A48B3 |
|---|---|
| RGB | rgb(138, 72, 179) |
| HSL | hsl(277, 43%, 49%) |
| HSV | hsv(277, 60%, 70%) |
| CMYK | cmyk(22.9%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(43.20, 46.77, -45.91) |
| CIE-LCH | lch(43.20, 65.54, 315.54°) |
| OKLab | oklab(53.04% 0.1096 -0.1291) |
| OKLCH | oklch(53.04% 0.169 310.3) |
| XYZ | xyz(20.9337, 13.2931, 44.1021) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.17
Royal Purple
#7851A9
ΔE00 4.44
Darkorchid
#9932CC
ΔE00 5.22
Deep Lavender
#8D5EB7
ΔE00 6.05
Medium Purple
#9E43A2
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A48B3 #71B348
analogous
#5548B3 #8A48B3 #B348A7
triadic
#8A48B3 #B38A48 #48B38A
tetradic
#8A48B3 #B35548 #71B348 #48A7B3
square
#8A48B3 #B35548 #71B348 #48A7B3
split-complementary
#8A48B3 #A7B348 #48B355
monochromatic
#47255C #683687 #8A48B3 #A672C6 #C29ED8
Accessibility & contrast
On white
5.74
#8A48B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#8A48B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A48B3
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A48B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A48B3 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#855C77
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a48b3; /* rgb */ color: rgb(138, 72, 179); /* oklch */ color: oklch(53.0% 0.169 310.3);
Tailwind
colors: {
custom: {
50: '#af7eca',
500: '#8a48b3',
950: '#000000',
},
}SCSS
$custom: #8a48b3; $custom-light: #af7eca; $custom-dark: #000000;
JSON
{
"hex": "#8a48b3",
"rgb": {
"r": 138,
"g": 72,
"b": 179
},
"hsl": {
"h": 277.009,
"s": 42.629,
"l": 49.216
},
"oklch": {
"l": 0.53035,
"c": 0.1694,
"h": 310.3
},
"luminance": 0.13293
}Semantic roles & 50–950 ramp
primary
#8A48B3
secondary
#A6C492
accent
#D25585
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82