#8D48CA#8D48CA
#8D48CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.195 H 305.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8D48CA |
|---|---|
| RGB | rgb(141, 72, 202) |
| HSL | hsl(272, 55%, 54%) |
| HSV | hsv(272, 64%, 79%) |
| CMYK | cmyk(30.2%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(45.03, 52.80, -56.36) |
| CIE-LCH | lch(45.03, 77.23, 313.13°) |
| OKLab | oklab(54.91% 0.1128 -0.1597) |
| OKLCH | oklch(54.91% 0.195 305.2) |
| XYZ | xyz(23.9602, 14.5619, 57.4141) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.96
Purply
#983FB2
ΔE00 5.28
Purpley
#8756E4
ΔE00 5.60
Blueviolet
#8A2BE2
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 6.46
Deep Lavender
#8D5EB7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D48CA #85CA48
analogous
#4C48CA #8D48CA #CA48C6
triadic
#8D48CA #CA8D48 #48CA8D
tetradic
#8D48CA #CA4C48 #85CA48 #48C6CA
square
#8D48CA #CA4C48 #85CA48 #48C6CA
split-complementary
#8D48CA #C6CA48 #48CA4C
monochromatic
#4E2276 #6E30A5 #8D48CA #AB77D8 #C8A7E5
Accessibility & contrast
On white
5.37
#8D48CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#8D48CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D48CA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D48CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D48CA | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#826483
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8d48ca; /* rgb */ color: rgb(141, 72, 202); /* oklch */ color: oklch(54.9% 0.195 305.2);
Tailwind
colors: {
custom: {
50: '#b37fdb',
500: '#8d48ca',
950: '#000000',
},
}SCSS
$custom: #8d48ca; $custom-light: #b37fdb; $custom-dark: #000000;
JSON
{
"hex": "#8d48ca",
"rgb": {
"r": 141,
"g": 72,
"b": 202
},
"hsl": {
"h": 271.846,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.54906,
"c": 0.19549,
"h": 305.2
},
"luminance": 0.14562
}Semantic roles & 50–950 ramp
primary
#8D48CA
secondary
#B5D39B
accent
#DE498F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83