#9D3FCD#9D3FCD
#9D3FCD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.215 H 311.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FCD |
|---|---|
| RGB | rgb(157, 63, 205) |
| HSL | hsl(280, 59%, 53%) |
| HSV | hsv(280, 69%, 80%) |
| CMYK | cmyk(23.4%, 69.3%, 0%, 19.6%) |
| CIE-LAB | lab(45.81, 61.02, -56.72) |
| CIE-LCH | lch(45.81, 83.31, 317.09°) |
| OKLab | oklab(55.98% 0.1431 -0.1602) |
| OKLCH | oklch(55.98% 0.215 311.8) |
| XYZ | xyz(26.6995, 15.1316, 59.2600) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.54
Purply
#983FB2
ΔE00 4.30
Vibrant Purple
#AD03DE
ΔE00 4.80
Barney
#AC1DB8
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 5.97
Violet (survey)
#9A0EEA
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FCD #6FCD3F
analogous
#563FCD #9D3FCD #CD3FB6
triadic
#9D3FCD #CD9D3F #3FCD9D
tetradic
#9D3FCD #CD563F #6FCD3F #3FB6CD
square
#9D3FCD #CD563F #6FCD3F #3FB6CD
split-complementary
#9D3FCD #B6CD3F #3FCD56
monochromatic
#571E74 #7B2BA4 #9D3FCD #B670DA #CFA0E6
Accessibility & contrast
On white
5.22
#9D3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9D3FCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FCD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FCD | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#975D82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9d3fcd; /* rgb */ color: rgb(157, 63, 205); /* oklch */ color: oklch(56.0% 0.215 311.8);
Tailwind
colors: {
custom: {
50: '#be7cdd',
500: '#9d3fcd',
950: '#000000',
},
}SCSS
$custom: #9d3fcd; $custom-light: #be7cdd; $custom-dark: #000000;
JSON
{
"hex": "#9d3fcd",
"rgb": {
"r": 157,
"g": 63,
"b": 205
},
"hsl": {
"h": 279.718,
"s": 58.678,
"l": 52.549
},
"oklch": {
"l": 0.55976,
"c": 0.2148,
"h": 311.8
},
"luminance": 0.15131
}Semantic roles & 50–950 ramp
primary
#9D3FCD
secondary
#AAD395
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83