#9D3CD2#9D3CD2
#9D3CD2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.223 H 310.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3CD2 |
|---|---|
| RGB | rgb(157, 60, 210) |
| HSL | hsl(279, 63%, 53%) |
| HSV | hsv(279, 71%, 82%) |
| CMYK | cmyk(25.2%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(45.71, 63.32, -59.77) |
| CIE-LCH | lch(45.71, 87.07, 316.65°) |
| OKLab | oklab(56.01% 0.1455 -0.1691) |
| OKLCH | oklch(56.01% 0.223 310.7) |
| XYZ | xyz(27.1511, 15.0536, 62.4356) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.25
Vibrant Purple
#AD03DE
ΔE00 4.26
Purply
#983FB2
ΔE00 4.99
Blueviolet
#8A2BE2
ΔE00 5.27
Violet (survey)
#9A0EEA
ΔE00 5.27
Bright Violet
#AD0AFD
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3CD2 #71D23C
analogous
#523CD2 #9D3CD2 #D23CBC
triadic
#9D3CD2 #D29D3C #3CD29D
tetradic
#9D3CD2 #D2523C #71D23C #3CBCD2
square
#9D3CD2 #D2523C #71D23C #3CBCD2
split-complementary
#9D3CD2 #BCD23C #3CD252
monochromatic
#571C78 #7C27AA #9D3CD2 #B66EDD #CF9FE9
Accessibility & contrast
On white
5.24
#9D3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#9D3CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3CD2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3CD2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#965E83
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9d3cd2; /* rgb */ color: rgb(157, 60, 210); /* oklch */ color: oklch(56.0% 0.223 310.7);
Tailwind
colors: {
custom: {
50: '#bf7ae1',
500: '#9d3cd2',
950: '#000000',
},
}SCSS
$custom: #9d3cd2; $custom-light: #bf7ae1; $custom-dark: #000000;
JSON
{
"hex": "#9d3cd2",
"rgb": {
"r": 157,
"g": 60,
"b": 210
},
"hsl": {
"h": 278.8,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.56007,
"c": 0.22312,
"h": 310.7
},
"luminance": 0.15053
}Semantic roles & 50–950 ramp
primary
#9D3CD2
secondary
#ABD594
accent
#E6427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83