#9D3CD9#9D3CD9
#9D3CD9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.230 H 309.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3CD9 |
|---|---|
| RGB | rgb(157, 60, 217) |
| HSL | hsl(277, 67%, 54%) |
| HSV | hsv(277, 72%, 85%) |
| CMYK | cmyk(27.6%, 72.4%, 0%, 14.9%) |
| CIE-LAB | lab(46.19, 64.80, -63.00) |
| CIE-LCH | lch(46.19, 90.37, 315.81°) |
| OKLab | oklab(56.5% 0.1445 -0.1786) |
| OKLCH | oklch(56.5% 0.23 309) |
| XYZ | xyz(28.0423, 15.4101, 67.1294) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.89
Vibrant Purple
#AD03DE
ΔE00 4.29
Violet (survey)
#9A0EEA
ΔE00 4.91
Electric Purple
#AA23FF
ΔE00 4.92
Blueviolet
#8A2BE2
ΔE00 4.93
Bright Violet
#AD0AFD
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3CD9 #78D93C
analogous
#4F3CD9 #9D3CD9 #D93CC7
triadic
#9D3CD9 #D99D3C #3CD99D
tetradic
#9D3CD9 #D94F3C #78D93C #3CC7D9
square
#9D3CD9 #D94F3C #78D93C #3CC7D9
split-complementary
#9D3CD9 #C7D93C #3CD94F
monochromatic
#5A1981 #7D23B5 #9D3CD9 #B76FE3 #D0A2ED
Accessibility & contrast
On white
5.14
#9D3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9D3CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3CD9
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3CD9 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0E6FD6
Tritanopia (blue-blind)
#946087
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9d3cd9; /* rgb */ color: rgb(157, 60, 217); /* oklch */ color: oklch(56.5% 0.230 309.0);
Tailwind
colors: {
custom: {
50: '#bf7ae6',
500: '#9d3cd9',
950: '#000000',
},
}SCSS
$custom: #9d3cd9; $custom-light: #bf7ae6; $custom-dark: #000000;
JSON
{
"hex": "#9d3cd9",
"rgb": {
"r": 157,
"g": 60,
"b": 217
},
"hsl": {
"h": 277.07,
"s": 67.382,
"l": 54.314
},
"oklch": {
"l": 0.56502,
"c": 0.22974,
"h": 309
},
"luminance": 0.1541
}Semantic roles & 50–950 ramp
primary
#9D3CD9
secondary
#B1DA97
accent
#EA3E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84