#9D50C7#9D50C7
#9D50C7 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.186 H 311.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50C7 |
|---|---|
| RGB | rgb(157, 80, 199) |
| HSL | hsl(279, 52%, 55%) |
| HSV | hsv(279, 60%, 78%) |
| CMYK | cmyk(21.1%, 59.8%, 0%, 22%) |
| CIE-LAB | lab(48.30, 51.87, -49.27) |
| CIE-LCH | lch(48.30, 71.54, 316.47°) |
| OKLab | oklab(57.65% 0.1239 -0.1384) |
| OKLCH | oklch(57.65% 0.186 311.8) |
| XYZ | xyz(27.0802, 17.0296, 55.8823) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.97
Lightish Purple
#A552E6
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 4.99
Purply
#983FB2
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 6.01
Mediumorchid
#BA55D3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50C7 #7AC750
analogous
#6250C7 #9D50C7 #C750B5
triadic
#9D50C7 #C79D50 #50C79D
tetradic
#9D50C7 #C76250 #7AC750 #50B5C7
square
#9D50C7 #C76250 #7AC750 #50B5C7
split-complementary
#9D50C7 #B5C750 #50C762
monochromatic
#5A2677 #7D35A5 #9D50C7 #B77ED6 #D1ADE5
Accessibility & contrast
On white
4.77
#9D50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#9D50C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D50C7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D50C7 | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#986684
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d50c7; /* rgb */ color: rgb(157, 80, 199); /* oklch */ color: oklch(57.6% 0.186 311.8);
Tailwind
colors: {
custom: {
50: '#bd85d8',
500: '#9d50c7',
950: '#000000',
},
}SCSS
$custom: #9d50c7; $custom-light: #bd85d8; $custom-dark: #000000;
JSON
{
"hex": "#9d50c7",
"rgb": {
"r": 157,
"g": 80,
"b": 199
},
"hsl": {
"h": 278.824,
"s": 51.515,
"l": 54.706
},
"oklch": {
"l": 0.57648,
"c": 0.18579,
"h": 311.8
},
"luminance": 0.17029
}Semantic roles & 50–950 ramp
primary
#9D50C7
secondary
#B2D2A0
accent
#DB4D7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83