#9D50C8#9D50C8
#9D50C8 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.187 H 311.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50C8 |
|---|---|
| RGB | rgb(157, 80, 200) |
| HSL | hsl(279, 52%, 55%) |
| HSV | hsv(279, 60%, 78%) |
| CMYK | cmyk(21.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(48.36, 52.08, -49.75) |
| CIE-LCH | lch(48.36, 72.03, 316.31°) |
| OKLab | oklab(57.71% 0.1239 -0.1399) |
| OKLCH | oklch(57.71% 0.187 311.5) |
| XYZ | xyz(27.1967, 17.0762, 56.4957) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.02
Lightish Purple
#A552E6
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 5.05
Purply
#983FB2
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.99
Mediumorchid
#BA55D3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50C8 #7BC850
analogous
#6150C8 #9D50C8 #C850B7
triadic
#9D50C8 #C89D50 #50C89D
tetradic
#9D50C8 #C86150 #7BC850 #50B7C8
square
#9D50C8 #C86150 #7BC850 #50B7C8
split-complementary
#9D50C8 #B7C850 #50C861
monochromatic
#5A2678 #7E34A6 #9D50C8 #B77FD7 #D1ADE5
Accessibility & contrast
On white
4.76
#9D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9D50C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D50C8
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D50C8 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#986684
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d50c8; /* rgb */ color: rgb(157, 80, 200); /* oklch */ color: oklch(57.7% 0.187 311.5);
Tailwind
colors: {
custom: {
50: '#bd85d9',
500: '#9d50c8',
950: '#000000',
},
}SCSS
$custom: #9d50c8; $custom-light: #bd85d9; $custom-dark: #000000;
JSON
{
"hex": "#9d50c8",
"rgb": {
"r": 157,
"g": 80,
"b": 200
},
"hsl": {
"h": 278.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.5771,
"c": 0.18684,
"h": 311.5
},
"luminance": 0.17076
}Semantic roles & 50–950 ramp
primary
#9D50C8
secondary
#B3D3A1
accent
#DC4C80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83