#9D4CDC#9D4CDC
#9D4CDC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.213 H 306.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CDC |
|---|---|
| RGB | rgb(157, 76, 220) |
| HSL | hsl(274, 67%, 58%) |
| HSV | hsv(274, 65%, 86%) |
| CMYK | cmyk(28.6%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(48.89, 58.47, -60.34) |
| CIE-LCH | lch(48.89, 84.02, 314.10°) |
| OKLab | oklab(58.49% 0.1277 -0.1709) |
| OKLCH | oklch(58.49% 0.213 306.8) |
| XYZ | xyz(29.4046, 17.5046, 69.5259) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.69
Purpley
#8756E4
ΔE00 4.68
Lighter Purple
#A55AF4
ΔE00 5.32
Electric Purple
#AA23FF
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 5.83
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CDC #8BDC4C
analogous
#554CDC #9D4CDC #DC4CD3
triadic
#9D4CDC #DC9D4C #4CDC9D
tetradic
#9D4CDC #DC554C #8BDC4C #4CD3DC
square
#9D4CDC #DC554C #8BDC4C #4CD3DC
split-complementary
#9D4CDC #D3DC4C #4CDC55
monochromatic
#5E1C91 #7F26C4 #9D4CDC #B97FE6 #D5B2F0
Accessibility & contrast
On white
4.67
#9D4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9D4CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CDC
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CDC | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#936B8E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d4cdc; /* rgb */ color: rgb(157, 76, 220); /* oklch */ color: oklch(58.5% 0.213 306.8);
Tailwind
colors: {
custom: {
50: '#be83e8',
500: '#9d4cdc',
950: '#000000',
},
}SCSS
$custom: #9d4cdc; $custom-light: #be83e8; $custom-dark: #000000;
JSON
{
"hex": "#9d4cdc",
"rgb": {
"r": 157,
"g": 76,
"b": 220
},
"hsl": {
"h": 273.75,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.58493,
"c": 0.21337,
"h": 306.8
},
"luminance": 0.17504
}Semantic roles & 50–950 ramp
primary
#9D4CDC
secondary
#BEDFA5
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84