#9C3DD7#9C3DD7
#9C3DD7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.226 H 309.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3DD7 |
|---|---|
| RGB | rgb(156, 61, 215) |
| HSL | hsl(277, 66%, 54%) |
| HSV | hsv(277, 72%, 84%) |
| CMYK | cmyk(27.4%, 71.6%, 0%, 15.7%) |
| CIE-LAB | lab(46.06, 63.77, -62.07) |
| CIE-LCH | lch(46.06, 89.00, 315.78°) |
| OKLab | oklab(56.34% 0.1426 -0.1759) |
| OKLCH | oklch(56.34% 0.226 309) |
| XYZ | xyz(27.6423, 15.3122, 65.7762) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.75
Vibrant Purple
#AD03DE
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.96
Violet (survey)
#9A0EEA
ΔE00 5.04
Electric Purple
#AA23FF
ΔE00 5.21
Bright Violet
#AD0AFD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3DD7 #78D73D
analogous
#4F3DD7 #9C3DD7 #D73DC5
triadic
#9C3DD7 #D79C3D #3DD79C
tetradic
#9C3DD7 #D74F3D #78D73D #3DC5D7
square
#9C3DD7 #D74F3D #78D73D #3DC5D7
split-complementary
#9C3DD7 #C5D73D #3DD74F
monochromatic
#591A7F #7C25B2 #9C3DD7 #B670E1 #D0A2EC
Accessibility & contrast
On white
5.17
#9C3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#9C3DD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3DD7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3DD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3DD7 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#156ED4
Tritanopia (blue-blind)
#936087
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9c3dd7; /* rgb */ color: rgb(156, 61, 215); /* oklch */ color: oklch(56.3% 0.226 309.0);
Tailwind
colors: {
custom: {
50: '#be7be4',
500: '#9c3dd7',
950: '#000000',
},
}SCSS
$custom: #9c3dd7; $custom-light: #be7be4; $custom-dark: #000000;
JSON
{
"hex": "#9c3dd7",
"rgb": {
"r": 156,
"g": 61,
"b": 215
},
"hsl": {
"h": 277.013,
"s": 65.812,
"l": 54.118
},
"oklch": {
"l": 0.56336,
"c": 0.22644,
"h": 309
},
"luminance": 0.15312
}Semantic roles & 50–950 ramp
primary
#9C3DD7
secondary
#B0D997
accent
#E93F80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84