#9D3DCE#9D3DCE
#9D3DCE is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.218 H 311.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3DCE |
|---|---|
| RGB | rgb(157, 61, 206) |
| HSL | hsl(280, 60%, 52%) |
| HSV | hsv(280, 70%, 81%) |
| CMYK | cmyk(23.8%, 70.4%, 0%, 19.2%) |
| CIE-LAB | lab(45.58, 62.07, -57.66) |
| CIE-LCH | lch(45.58, 84.72, 317.11°) |
| OKLab | oklab(55.83% 0.1451 -0.163) |
| OKLCH | oklch(55.83% 0.218 311.7) |
| XYZ | xyz(26.7119, 14.9625, 59.8615) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.22
Purply
#983FB2
ΔE00 4.41
Vibrant Purple
#AD03DE
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 5.66
Violet (survey)
#9A0EEA
ΔE00 5.70
Barney
#AC1DB8
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3DCE #6ECE3D
analogous
#543DCE #9D3DCE #CE3DB7
triadic
#9D3DCE #CE9D3D #3DCE9D
tetradic
#9D3DCE #CE543D #6ECE3D #3DB7CE
square
#9D3DCE #CE543D #6ECE3D #3DB7CE
split-complementary
#9D3DCE #B7CE3D #3DCE54
monochromatic
#561D73 #7B29A4 #9D3DCE #B66EDA #CE9FE7
Accessibility & contrast
On white
5.26
#9D3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9D3DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3DCE
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3DCE | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#975C82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9d3dce; /* rgb */ color: rgb(157, 61, 206); /* oklch */ color: oklch(55.8% 0.218 311.7);
Tailwind
colors: {
custom: {
50: '#be7bde',
500: '#9d3dce',
950: '#000000',
},
}SCSS
$custom: #9d3dce; $custom-light: #be7bde; $custom-dark: #000000;
JSON
{
"hex": "#9d3dce",
"rgb": {
"r": 157,
"g": 61,
"b": 206
},
"hsl": {
"h": 279.724,
"s": 59.671,
"l": 52.353
},
"oklch": {
"l": 0.55833,
"c": 0.21816,
"h": 311.7
},
"luminance": 0.14962
}Semantic roles & 50–950 ramp
primary
#9D3DCE
secondary
#A9D394
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83