#9D50CD#9D50CD
#9D50CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.192 H 310.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50CD |
|---|---|
| RGB | rgb(157, 80, 205) |
| HSL | hsl(277, 56%, 56%) |
| HSV | hsv(277, 61%, 80%) |
| CMYK | cmyk(23.4%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(48.65, 53.19, -52.15) |
| CIE-LCH | lch(48.65, 74.49, 315.56°) |
| OKLab | oklab(58.02% 0.1239 -0.1469) |
| OKLCH | oklch(58.02% 0.192 310.1) |
| XYZ | xyz(27.7906, 17.3137, 59.6237) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 4.34
Deep Lavender
#8D5EB7
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.99
Purply
#983FB2
ΔE00 5.99
Purpley
#8756E4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50CD #80CD50
analogous
#5E50CD #9D50CD #CD50BE
triadic
#9D50CD #CD9D50 #50CD9D
tetradic
#9D50CD #CD5E50 #80CD50 #50BECD
square
#9D50CD #CD5E50 #80CD50 #50BECD
split-complementary
#9D50CD #BECD50 #50CD5E
monochromatic
#5C247E #7E32AE #9D50CD #B880DB #D2AFE8
Accessibility & contrast
On white
4.71
#9D50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9D50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D50CD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D50CD | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#976887
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d50cd; /* rgb */ color: rgb(157, 80, 205); /* oklch */ color: oklch(58.0% 0.192 310.1);
Tailwind
colors: {
custom: {
50: '#bd85dd',
500: '#9d50cd',
950: '#000000',
},
}SCSS
$custom: #9d50cd; $custom-light: #bd85dd; $custom-dark: #000000;
JSON
{
"hex": "#9d50cd",
"rgb": {
"r": 157,
"g": 80,
"b": 205
},
"hsl": {
"h": 276.96,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.58021,
"c": 0.19215,
"h": 310.1
},
"luminance": 0.17313
}Semantic roles & 50–950 ramp
primary
#9D50CD
secondary
#B6D6A2
accent
#DF4983
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83