#9D50BB#9D50BB
#9D50BB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.173 H 315.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50BB |
|---|---|
| RGB | rgb(157, 80, 187) |
| HSL | hsl(283, 44%, 52%) |
| HSV | hsv(283, 57%, 73%) |
| CMYK | cmyk(16%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(47.62, 49.29, -43.41) |
| CIE-LCH | lch(47.62, 65.68, 318.63°) |
| OKLab | oklab(56.93% 0.1236 -0.1213) |
| OKLCH | oklch(56.93% 0.173 315.5) |
| XYZ | xyz(25.7415, 16.4941, 48.8318) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.95
Purply
#983FB2
ΔE00 4.29
Deep Lavender
#8D5EB7
ΔE00 4.69
Medium Purple
#9E43A2
ΔE00 5.44
Ugly Purple
#A442A0
ΔE00 6.21
Darkorchid
#9932CC
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50BB #6EBB50
analogous
#6850BB #9D50BB #BB50A3
triadic
#9D50BB #BB9D50 #50BB9D
tetradic
#9D50BB #BB6850 #6EBB50 #50A3BB
square
#9D50BB #BB6850 #6EBB50 #50A3BB
split-complementary
#9D50BB #A3BB50 #50BB68
monochromatic
#562868 #7B3A94 #9D50BB #B67CCC #CEA8DD
Accessibility & contrast
On white
4.89
#9D50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9D50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D50BB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D50BB | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#9B627E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9d50bb; /* rgb */ color: rgb(157, 80, 187); /* oklch */ color: oklch(56.9% 0.173 315.5);
Tailwind
colors: {
custom: {
50: '#bc85d0',
500: '#9d50bb',
950: '#000000',
},
}SCSS
$custom: #9d50bb; $custom-light: #bc85d0; $custom-dark: #000000;
JSON
{
"hex": "#9d50bb",
"rgb": {
"r": 157,
"g": 80,
"b": 187
},
"hsl": {
"h": 283.178,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.56931,
"c": 0.17316,
"h": 315.5
},
"luminance": 0.16493
}Semantic roles & 50–950 ramp
primary
#9D50BB
secondary
#A9CB9C
accent
#D45478
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82