#9D4ECC#9D4ECC
#9D4ECC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.194 H 310.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4ECC |
|---|---|
| RGB | rgb(157, 78, 204) |
| HSL | hsl(278, 55%, 55%) |
| HSV | hsv(278, 62%, 80%) |
| CMYK | cmyk(23%, 61.8%, 0%, 20%) |
| CIE-LAB | lab(48.23, 53.95, -52.26) |
| CIE-LCH | lch(48.23, 75.11, 315.91°) |
| OKLab | oklab(57.7% 0.1263 -0.1472) |
| OKLCH | oklch(57.7% 0.194 310.6) |
| XYZ | xyz(27.5260, 16.9771, 58.9419) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.31
Amethyst
#9B5FC0
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 5.52
Purply
#983FB2
ΔE00 5.55
Deep Lavender
#8D5EB7
ΔE00 5.61
Purpley
#8756E4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4ECC #7DCC4E
analogous
#5E4ECC #9D4ECC #CC4EBC
triadic
#9D4ECC #CC9D4E #4ECC9D
tetradic
#9D4ECC #CC5E4E #7DCC4E #4EBCCC
square
#9D4ECC #CC5E4E #7DCC4E #4EBCCC
split-complementary
#9D4ECC #BCCC4E #4ECC5E
monochromatic
#5B247C #7E31AB #9D4ECC #B77EDA #D2ADE7
Accessibility & contrast
On white
4.78
#9D4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9D4ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4ECC
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4ECC | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#976686
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d4ecc; /* rgb */ color: rgb(157, 78, 204); /* oklch */ color: oklch(57.7% 0.194 310.6);
Tailwind
colors: {
custom: {
50: '#bd84dc',
500: '#9d4ecc',
950: '#000000',
},
}SCSS
$custom: #9d4ecc; $custom-light: #bd84dc; $custom-dark: #000000;
JSON
{
"hex": "#9d4ecc",
"rgb": {
"r": 157,
"g": 78,
"b": 204
},
"hsl": {
"h": 277.619,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.57696,
"c": 0.19394,
"h": 310.6
},
"luminance": 0.16977
}Semantic roles & 50–950 ramp
primary
#9D4ECC
secondary
#B4D5A1
accent
#DF4981
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83