#8D4FDB#8D4FDB
#8D4FDB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.205 H 300.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4FDB |
|---|---|
| RGB | rgb(141, 79, 219) |
| HSL | hsl(267, 66%, 58%) |
| HSV | hsv(267, 64%, 86%) |
| CMYK | cmyk(35.6%, 63.9%, 0%, 14.1%) |
| CIE-LAB | lab(47.45, 53.39, -62.19) |
| CIE-LCH | lch(47.45, 81.96, 310.65°) |
| OKLab | oklab(57.02% 0.1035 -0.1769) |
| OKLCH | oklch(57.02% 0.205 300.3) |
| XYZ | xyz(26.5636, 16.3690, 68.7641) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.52
Lightish Purple
#A552E6
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 6.27
Blueviolet
#8A2BE2
ΔE00 6.49
Light Indigo
#6D5ACF
ΔE00 6.57
Lighter Purple
#A55AF4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4FDB #9DDB4F
analogous
#4F57DB #8D4FDB #D34FDB
triadic
#8D4FDB #DB8D4F #4FDB8D
tetradic
#8D4FDB #DB4F57 #9DDB4F #4FDBD3
square
#8D4FDB #DB4F57 #9DDB4F #4FDBD3
split-complementary
#8D4FDB #DBD34F #57DB4F
monochromatic
#511E92 #6D28C5 #8D4FDB #AE82E5 #CFB5F0
Accessibility & contrast
On white
4.91
#8D4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#8D4FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4FDB
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4FDB | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0C70D8
Tritanopia (blue-blind)
#7C6E8E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d4fdb; /* rgb */ color: rgb(141, 79, 219); /* oklch */ color: oklch(57.0% 0.205 300.3);
Tailwind
colors: {
custom: {
50: '#b384e7',
500: '#8d4fdb',
950: '#000000',
},
}SCSS
$custom: #8d4fdb; $custom-light: #b384e7; $custom-dark: #000000;
JSON
{
"hex": "#8d4fdb",
"rgb": {
"r": 141,
"g": 79,
"b": 219
},
"hsl": {
"h": 266.571,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.57019,
"c": 0.20491,
"h": 300.3
},
"luminance": 0.16369
}Semantic roles & 50–950 ramp
primary
#8D4FDB
secondary
#C6DFA7
accent
#E93F9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84