#8D4FD6#8D4FD6
#8D4FD6 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.199 H 301.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4FD6 |
|---|---|
| RGB | rgb(141, 79, 214) |
| HSL | hsl(268, 62%, 57%) |
| HSV | hsv(268, 63%, 84%) |
| CMYK | cmyk(34.1%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(47.12, 52.16, -59.88) |
| CIE-LCH | lch(47.12, 79.41, 311.06°) |
| OKLab | oklab(56.67% 0.1039 -0.1701) |
| OKLCH | oklch(56.67% 0.199 301.4) |
| XYZ | xyz(25.9152, 16.1096, 65.3494) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.09
Lightish Purple
#A552E6
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.92
Blueviolet
#8A2BE2
ΔE00 6.53
Deep Lavender
#8D5EB7
ΔE00 6.58
Light Indigo
#6D5ACF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4FD6 #98D64F
analogous
#4F54D6 #8D4FD6 #D14FD6
triadic
#8D4FD6 #D68D4F #4FD68D
tetradic
#8D4FD6 #D64F54 #98D64F #4FD6D1
square
#8D4FD6 #D64F54 #98D64F #4FD6D1
split-complementary
#8D4FD6 #D6D14F #54D64F
monochromatic
#51208A #6E2CBC #8D4FD6 #AD81E2 #CDB2ED
Accessibility & contrast
On white
4.97
#8D4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8D4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4FD6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4FD6 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#1C6FD3
Tritanopia (blue-blind)
#7E6C8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d4fd6; /* rgb */ color: rgb(141, 79, 214); /* oklch */ color: oklch(56.7% 0.199 301.4);
Tailwind
colors: {
custom: {
50: '#b384e3',
500: '#8d4fd6',
950: '#000000',
},
}SCSS
$custom: #8d4fd6; $custom-light: #b384e3; $custom-dark: #000000;
JSON
{
"hex": "#8d4fd6",
"rgb": {
"r": 141,
"g": 79,
"b": 214
},
"hsl": {
"h": 267.556,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.56669,
"c": 0.19929,
"h": 301.4
},
"luminance": 0.1611
}Semantic roles & 50–950 ramp
primary
#8D4FD6
secondary
#C3DCA5
accent
#E5439B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84