#9D47CD#9D47CD
#9D47CD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.205 H 311.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47CD |
|---|---|
| RGB | rgb(157, 71, 205) |
| HSL | hsl(279, 57%, 54%) |
| HSV | hsv(279, 65%, 80%) |
| CMYK | cmyk(23.4%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(47.08, 57.48, -54.67) |
| CIE-LCH | lch(47.08, 79.33, 316.44°) |
| OKLab | oklab(56.89% 0.1344 -0.1542) |
| OKLCH | oklch(56.89% 0.205 311.1) |
| XYZ | xyz(27.1752, 16.0830, 59.4185) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.05
Purply
#983FB2
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 5.00
Amethyst
#9B5FC0
ΔE00 6.08
Vibrant Purple
#AD03DE
ΔE00 6.08
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47CD #77CD47
analogous
#5A47CD #9D47CD #CD47BA
triadic
#9D47CD #CD9D47 #47CD9D
tetradic
#9D47CD #CD5A47 #77CD47 #47BACD
square
#9D47CD #CD5A47 #77CD47 #47BACD
split-complementary
#9D47CD #BACD47 #47CD5A
monochromatic
#592179 #7D2EA9 #9D47CD #B777DA #D0A7E7
Accessibility & contrast
On white
4.98
#9D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9D47CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47CD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47CD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#976284
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9d47cd; /* rgb */ color: rgb(157, 71, 205); /* oklch */ color: oklch(56.9% 0.205 311.1);
Tailwind
colors: {
custom: {
50: '#be80dd',
500: '#9d47cd',
950: '#000000',
},
}SCSS
$custom: #9d47cd; $custom-light: #be80dd; $custom-dark: #000000;
JSON
{
"hex": "#9d47cd",
"rgb": {
"r": 157,
"g": 71,
"b": 205
},
"hsl": {
"h": 278.507,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.56886,
"c": 0.20459,
"h": 311.1
},
"luminance": 0.16082
}Semantic roles & 50–950 ramp
primary
#9D47CD
secondary
#B0D49B
accent
#E1477E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83