#9B50CE#9B50CE
#9B50CE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.193 H 309.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9B50CE |
|---|---|
| RGB | rgb(155, 80, 206) |
| HSL | hsl(276, 56%, 56%) |
| HSV | hsv(276, 61%, 81%) |
| CMYK | cmyk(24.8%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(48.46, 52.94, -53.04) |
| CIE-LCH | lch(48.46, 74.94, 314.94°) |
| OKLab | oklab(57.85% 0.1213 -0.1496) |
| OKLCH | oklch(57.85% 0.193 309) |
| XYZ | xyz(27.5246, 17.1626, 60.2433) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.96
Amethyst
#9B5FC0
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.63
Darkorchid
#9932CC
ΔE00 5.86
Purply
#983FB2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B50CE #83CE50
analogous
#5C50CE #9B50CE #CE50C2
triadic
#9B50CE #CE9B50 #50CE9B
tetradic
#9B50CE #CE5C50 #83CE50 #50C2CE
square
#9B50CE #CE5C50 #83CE50 #50C2CE
split-complementary
#9B50CE #C2CE50 #50CE5C
monochromatic
#5B2480 #7C31B0 #9B50CE #B680DB #D2B0E9
Accessibility & contrast
On white
4.74
#9B50CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9B50CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B50CE
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B50CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B50CE | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#946988
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b50ce; /* rgb */ color: rgb(155, 80, 206); /* oklch */ color: oklch(57.9% 0.193 309.0);
Tailwind
colors: {
custom: {
50: '#bc85de',
500: '#9b50ce',
950: '#000000',
},
}SCSS
$custom: #9b50ce; $custom-light: #bc85de; $custom-dark: #000000;
JSON
{
"hex": "#9b50ce",
"rgb": {
"r": 155,
"g": 80,
"b": 206
},
"hsl": {
"h": 275.714,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.5785,
"c": 0.19257,
"h": 309
},
"luminance": 0.17162
}Semantic roles & 50–950 ramp
primary
#9B50CE
secondary
#B8D7A3
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83