#9D47DC#9D47DC
#9D47DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.220 H 307.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47DC |
|---|---|
| RGB | rgb(157, 71, 220) |
| HSL | hsl(275, 68%, 57%) |
| HSV | hsv(275, 68%, 86%) |
| CMYK | cmyk(28.6%, 67.7%, 0%, 13.7%) |
| CIE-LAB | lab(48.06, 60.77, -61.68) |
| CIE-LCH | lch(48.06, 86.59, 314.57°) |
| OKLab | oklab(57.9% 0.1331 -0.1748) |
| OKLCH | oklch(57.9% 0.22 307.3) |
| XYZ | xyz(29.0734, 16.8422, 69.4155) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.51
Darkorchid
#9932CC
ΔE00 4.89
Purpley
#8756E4
ΔE00 5.10
Electric Purple
#AA23FF
ΔE00 5.21
Bright Violet
#AD0AFD
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47DC #86DC47
analogous
#5347DC #9D47DC #DC47D1
triadic
#9D47DC #DC9D47 #47DC9D
tetradic
#9D47DC #DC5347 #86DC47 #47D1DC
square
#9D47DC #DC5347 #86DC47 #47D1DC
split-complementary
#9D47DC #D1DC47 #47DC53
monochromatic
#5D1B8E #7F25C1 #9D47DC #B87AE6 #D4AEF0
Accessibility & contrast
On white
4.81
#9D47DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9D47DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47DC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47DC | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#93688C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d47dc; /* rgb */ color: rgb(157, 71, 220); /* oklch */ color: oklch(57.9% 0.220 307.3);
Tailwind
colors: {
custom: {
50: '#bf80e8',
500: '#9d47dc',
950: '#000000',
},
}SCSS
$custom: #9d47dc; $custom-light: #bf80e8; $custom-dark: #000000;
JSON
{
"hex": "#9d47dc",
"rgb": {
"r": 157,
"g": 71,
"b": 220
},
"hsl": {
"h": 274.631,
"s": 68.037,
"l": 57.059
},
"oklch": {
"l": 0.57899,
"c": 0.21973,
"h": 307.3
},
"luminance": 0.16842
}Semantic roles & 50–950 ramp
primary
#9D47DC
secondary
#BBDEA1
accent
#EB3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84