#9D4CD7#9D4CD7
#9D4CD7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.208 H 308.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CD7 |
|---|---|
| RGB | rgb(157, 76, 215) |
| HSL | hsl(275, 63%, 57%) |
| HSV | hsv(275, 65%, 84%) |
| CMYK | cmyk(27%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(48.57, 57.35, -58.02) |
| CIE-LCH | lch(48.57, 81.58, 314.67°) |
| OKLab | oklab(58.16% 0.1281 -0.1641) |
| OKLCH | oklch(58.16% 0.208 308) |
| XYZ | xyz(28.7523, 17.2437, 66.0905) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.16
Purpley
#8756E4
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 5.84
Lighter Purple
#A55AF4
ΔE00 5.88
Electric Purple
#AA23FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CD7 #86D74C
analogous
#584CD7 #9D4CD7 #D74CCB
triadic
#9D4CD7 #D79D4C #4CD79D
tetradic
#9D4CD7 #D7584C #86D74C #4CCBD7
square
#9D4CD7 #D7584C #86D74C #4CCBD7
split-complementary
#9D4CD7 #CBD74C #4CD758
monochromatic
#5D1F8A #7F2ABC #9D4CD7 #B87EE2 #D4B0ED
Accessibility & contrast
On white
4.72
#9D4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9D4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CD7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CD7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#94698B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d4cd7; /* rgb */ color: rgb(157, 76, 215); /* oklch */ color: oklch(58.2% 0.208 308.0);
Tailwind
colors: {
custom: {
50: '#be83e4',
500: '#9d4cd7',
950: '#000000',
},
}SCSS
$custom: #9d4cd7; $custom-light: #be83e4; $custom-dark: #000000;
JSON
{
"hex": "#9d4cd7",
"rgb": {
"r": 157,
"g": 76,
"b": 215
},
"hsl": {
"h": 274.964,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.58157,
"c": 0.20818,
"h": 308
},
"luminance": 0.17243
}Semantic roles & 50–950 ramp
primary
#9D4CD7
secondary
#BBDCA3
accent
#E64186
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84