#8D4FD1#8D4FD1
#8D4FD1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.194 H 302.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4FD1 |
|---|---|
| RGB | rgb(141, 79, 209) |
| HSL | hsl(269, 59%, 56%) |
| HSV | hsv(269, 62%, 82%) |
| CMYK | cmyk(32.5%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(46.79, 50.94, -57.55) |
| CIE-LCH | lch(46.79, 76.86, 311.51°) |
| OKLab | oklab(56.33% 0.1042 -0.1632) |
| OKLCH | oklch(56.33% 0.194 302.6) |
| XYZ | xyz(25.2864, 15.8581, 62.0380) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.74
Lightish Purple
#A552E6
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.64
Deep Lavender
#8D5EB7
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.49
Blueviolet
#8A2BE2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4FD1 #93D14F
analogous
#4F52D1 #8D4FD1 #CE4FD1
triadic
#8D4FD1 #D18D4F #4FD18D
tetradic
#8D4FD1 #D14F52 #93D14F #4FD1CE
square
#8D4FD1 #D14F52 #93D14F #4FD1CE
split-complementary
#8D4FD1 #D1CE4F #52D14F
monochromatic
#512283 #6E2FB4 #8D4FD1 #AC80DE #CCB0EA
Accessibility & contrast
On white
5.03
#8D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#8D4FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4FD1
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4FD1 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#266ECE
Tritanopia (blue-blind)
#806B89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8d4fd1; /* rgb */ color: rgb(141, 79, 209); /* oklch */ color: oklch(56.3% 0.194 302.6);
Tailwind
colors: {
custom: {
50: '#b384e0',
500: '#8d4fd1',
950: '#000000',
},
}SCSS
$custom: #8d4fd1; $custom-light: #b384e0; $custom-dark: #000000;
JSON
{
"hex": "#8d4fd1",
"rgb": {
"r": 141,
"g": 79,
"b": 209
},
"hsl": {
"h": 268.615,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.56325,
"c": 0.19366,
"h": 302.6
},
"luminance": 0.15858
}Semantic roles & 50–950 ramp
primary
#8D4FD1
secondary
#BFD9A3
accent
#E24697
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83