#9D3CDC#9D3CDC
#9D3CDC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.233 H 308.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3CDC |
|---|---|
| RGB | rgb(157, 60, 220) |
| HSL | hsl(276, 70%, 55%) |
| HSV | hsv(276, 73%, 86%) |
| CMYK | cmyk(28.6%, 72.7%, 0%, 13.7%) |
| CIE-LAB | lab(46.40, 65.44, -64.37) |
| CIE-LCH | lch(46.40, 91.79, 315.47°) |
| OKLab | oklab(56.72% 0.144 -0.1826) |
| OKLCH | oklch(56.72% 0.233 308.3) |
| XYZ | xyz(28.4361, 15.5676, 69.2031) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.22
Vibrant Purple
#AD03DE
ΔE00 4.38
Electric Purple
#AA23FF
ΔE00 4.56
Bright Violet
#AD0AFD
ΔE00 4.75
Violet (survey)
#9A0EEA
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3CDC #7BDC3C
analogous
#4D3CDC #9D3CDC #DC3CCB
triadic
#9D3CDC #DC9D3C #3CDC9D
tetradic
#9D3CDC #DC4D3C #7BDC3C #3CCBDC
square
#9D3CDC #DC4D3C #7BDC3C #3CCBDC
split-complementary
#9D3CDC #CBDC3C #3CDC4D
monochromatic
#5A1886 #7E21BA #9D3CDC #B770E5 #D1A4EF
Accessibility & contrast
On white
5.11
#9D3CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9D3CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3CDC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3CDC | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#936289
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9d3cdc; /* rgb */ color: rgb(157, 60, 220); /* oklch */ color: oklch(56.7% 0.233 308.3);
Tailwind
colors: {
custom: {
50: '#bf7be8',
500: '#9d3cdc',
950: '#000000',
},
}SCSS
$custom: #9d3cdc; $custom-light: #bf7be8; $custom-dark: #000000;
JSON
{
"hex": "#9d3cdc",
"rgb": {
"r": 157,
"g": 60,
"b": 220
},
"hsl": {
"h": 276.375,
"s": 69.565,
"l": 54.902
},
"oklch": {
"l": 0.56718,
"c": 0.23258,
"h": 308.3
},
"luminance": 0.15567
}Semantic roles & 50–950 ramp
primary
#9D3CDC
secondary
#B3DC98
accent
#EC3B81
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84