#9D4DCF#9D4DCF
#9D4DCF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.198 H 309.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4DCF |
|---|---|
| RGB | rgb(157, 77, 207) |
| HSL | hsl(277, 58%, 56%) |
| HSV | hsv(277, 63%, 81%) |
| CMYK | cmyk(24.2%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(48.24, 55.09, -53.97) |
| CIE-LCH | lch(48.24, 77.12, 315.59°) |
| OKLab | oklab(57.76% 0.1274 -0.1522) |
| OKLCH | oklch(57.76% 0.198 309.9) |
| XYZ | xyz(27.8188, 16.9814, 60.8316) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.35
Purply
#983FB2
ΔE00 5.80
Purpley
#8756E4
ΔE00 5.93
Deep Lavender
#8D5EB7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4DCF #7FCF4D
analogous
#5C4DCF #9D4DCF #CF4DC0
triadic
#9D4DCF #CF9D4D #4DCF9D
tetradic
#9D4DCF #CF5C4D #7FCF4D #4DC0CF
square
#9D4DCF #CF5C4D #7FCF4D #4DC0CF
split-complementary
#9D4DCF #C0CF4D #4DCF5C
monochromatic
#5C227F #7E2FAF #9D4DCF #B87DDC #D2ADE9
Accessibility & contrast
On white
4.78
#9D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9D4DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4DCF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4DCF | 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)
#056FD3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#966787
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d4dcf; /* rgb */ color: rgb(157, 77, 207); /* oklch */ color: oklch(57.8% 0.198 309.9);
Tailwind
colors: {
custom: {
50: '#be83de',
500: '#9d4dcf',
950: '#000000',
},
}SCSS
$custom: #9d4dcf; $custom-light: #be83de; $custom-dark: #000000;
JSON
{
"hex": "#9d4dcf",
"rgb": {
"r": 157,
"g": 77,
"b": 207
},
"hsl": {
"h": 276.923,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.57758,
"c": 0.19848,
"h": 309.9
},
"luminance": 0.16981
}Semantic roles & 50–950 ramp
primary
#9D4DCF
secondary
#B6D7A1
accent
#E14782
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83