#8D4FAC#8D4FAC
#8D4FAC is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.152 H 313.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4FAC |
|---|---|
| RGB | rgb(141, 79, 172) |
| HSL | hsl(280, 37%, 49%) |
| HSV | hsv(280, 54%, 67%) |
| CMYK | cmyk(18%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(44.57, 42.29, -39.59) |
| CIE-LCH | lch(44.57, 57.93, 316.89°) |
| OKLab | oklab(53.99% 0.1039 -0.1106) |
| OKLCH | oklch(53.99% 0.152 313.2) |
| XYZ | xyz(21.2256, 14.2338, 40.6510) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.89
Royal Purple
#7851A9
ΔE00 4.58
Deep Lavender
#8D5EB7
ΔE00 4.58
Medium Purple
#9E43A2
ΔE00 5.01
Amethyst
#9B5FC0
ΔE00 6.05
Ugly Purple
#A442A0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4FAC #6EAC4F
analogous
#5F4FAC #8D4FAC #AC4F9D
triadic
#8D4FAC #AC8D4F #4FAC8D
tetradic
#8D4FAC #AC5F4F #6EAC4F #4F9DAC
square
#8D4FAC #AC5F4F #6EAC4F #4F9DAC
split-complementary
#8D4FAC #9DAC4F #4FAC5F
monochromatic
#482858 #6B3C82 #8D4FAC #A877C1 #C3A1D4
Accessibility & contrast
On white
5.46
#8D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8D4FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4FAC
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4FAC | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#8A5E76
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8d4fac; /* rgb */ color: rgb(141, 79, 172); /* oklch */ color: oklch(54.0% 0.152 313.2);
Tailwind
colors: {
custom: {
50: '#b183c5',
500: '#8d4fac',
950: '#000000',
},
}SCSS
$custom: #8d4fac; $custom-light: #b183c5; $custom-dark: #000000;
JSON
{
"hex": "#8d4fac",
"rgb": {
"r": 141,
"g": 79,
"b": 172
},
"hsl": {
"h": 280,
"s": 37.052,
"l": 49.216
},
"oklch": {
"l": 0.53987,
"c": 0.15174,
"h": 313.2
},
"luminance": 0.14233
}Semantic roles & 50–950 ramp
primary
#8D4FAC
secondary
#A4C196
accent
#CD5B81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82