#8D48C2#8D48C2
#8D48C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.187 H 307.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8D48C2 |
|---|---|
| RGB | rgb(141, 72, 194) |
| HSL | hsl(274, 50%, 52%) |
| HSV | hsv(274, 63%, 76%) |
| CMYK | cmyk(27.3%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(44.51, 50.94, -52.56) |
| CIE-LCH | lch(44.51, 73.19, 314.10°) |
| OKLab | oklab(54.36% 0.1132 -0.1485) |
| OKLCH | oklch(54.36% 0.187 307.3) |
| XYZ | xyz(23.0375, 14.1928, 52.5543) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Purply
#983FB2
ΔE00 4.22
Royal Purple
#7851A9
ΔE00 5.69
Deep Lavender
#8D5EB7
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.38
Purpley
#8756E4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D48C2 #7DC248
analogous
#5048C2 #8D48C2 #C248BA
triadic
#8D48C2 #C28D48 #48C28D
tetradic
#8D48C2 #C25048 #7DC248 #48BAC2
square
#8D48C2 #C25048 #7DC248 #48BAC2
split-complementary
#8D48C2 #BAC248 #48C250
monochromatic
#4D246C #6D339A #8D48C2 #AA76D1 #C6A4E1
Accessibility & contrast
On white
5.47
#8D48C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#8D48C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D48C2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D48C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D48C2 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#85617E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8d48c2; /* rgb */ color: rgb(141, 72, 194); /* oklch */ color: oklch(54.4% 0.187 307.3);
Tailwind
colors: {
custom: {
50: '#b27fd5',
500: '#8d48c2',
950: '#000000',
},
}SCSS
$custom: #8d48c2; $custom-light: #b27fd5; $custom-dark: #000000;
JSON
{
"hex": "#8d48c2",
"rgb": {
"r": 141,
"g": 72,
"b": 194
},
"hsl": {
"h": 273.934,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.54364,
"c": 0.18678,
"h": 307.3
},
"luminance": 0.14192
}Semantic roles & 50–950 ramp
primary
#8D48C2
secondary
#AFCE98
accent
#DA4E8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83