#8A48C1#8A48C1
#8A48C1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.185 H 306.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A48C1 |
|---|---|
| RGB | rgb(138, 72, 193) |
| HSL | hsl(273, 49%, 52%) |
| HSV | hsv(273, 63%, 76%) |
| CMYK | cmyk(28.5%, 62.7%, 0%, 24.3%) |
| CIE-LAB | lab(44.07, 50.01, -52.70) |
| CIE-LCH | lch(44.07, 72.65, 313.50°) |
| OKLab | oklab(53.95% 0.1093 -0.149) |
| OKLCH | oklch(53.95% 0.185 306.3) |
| XYZ | xyz(22.4222, 13.8885, 51.9413) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.22
Purply
#983FB2
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 5.32
Blueviolet
#8A2BE2
ΔE00 6.29
Deep Lavender
#8D5EB7
ΔE00 6.33
Purpley
#8756E4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A48C1 #7FC148
analogous
#4D48C1 #8A48C1 #C148BC
triadic
#8A48C1 #C18A48 #48C18A
tetradic
#8A48C1 #C14D48 #7FC148 #48BCC1
square
#8A48C1 #C14D48 #7FC148 #48BCC1
split-complementary
#8A48C1 #BCC148 #48C14D
monochromatic
#4B246B #6A3498 #8A48C1 #A776D0 #C4A3E0
Accessibility & contrast
On white
5.56
#8A48C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8A48C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A48C1
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A48C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A48C1 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#2E69BE
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a48c1; /* rgb */ color: rgb(138, 72, 193); /* oklch */ color: oklch(53.9% 0.185 306.3);
Tailwind
colors: {
custom: {
50: '#b07fd4',
500: '#8a48c1',
950: '#000000',
},
}SCSS
$custom: #8a48c1; $custom-light: #b07fd4; $custom-dark: #000000;
JSON
{
"hex": "#8a48c1",
"rgb": {
"r": 138,
"g": 72,
"b": 193
},
"hsl": {
"h": 272.727,
"s": 49.388,
"l": 51.961
},
"oklch": {
"l": 0.53947,
"c": 0.18485,
"h": 306.3
},
"luminance": 0.13888
}Semantic roles & 50–950 ramp
primary
#8A48C1
secondary
#B0CD98
accent
#D94F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83