#9B50CD#9B50CD
#9B50CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.192 H 309.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9B50CD |
|---|---|
| RGB | rgb(155, 80, 205) |
| HSL | hsl(276, 56%, 56%) |
| HSV | hsv(276, 61%, 80%) |
| CMYK | cmyk(24.4%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(48.40, 52.71, -52.57) |
| CIE-LCH | lch(48.40, 74.44, 315.08°) |
| OKLab | oklab(57.79% 0.1213 -0.1482) |
| OKLCH | oklch(57.79% 0.192 309.3) |
| XYZ | xyz(27.4035, 17.1141, 59.6055) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.10
Amethyst
#9B5FC0
ΔE00 4.46
Deep Lavender
#8D5EB7
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.85
Purply
#983FB2
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B50CD #82CD50
analogous
#5C50CD #9B50CD #CD50C0
triadic
#9B50CD #CD9B50 #50CD9B
tetradic
#9B50CD #CD5C50 #82CD50 #50C0CD
square
#9B50CD #CD5C50 #82CD50 #50C0CD
split-complementary
#9B50CD #C0CD50 #50CD5C
monochromatic
#5A247E #7C32AE #9B50CD #B680DB #D1AFE8
Accessibility & contrast
On white
4.75
#9B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9B50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B50CD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B50CD | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#946887
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b50cd; /* rgb */ color: rgb(155, 80, 205); /* oklch */ color: oklch(57.8% 0.192 309.3);
Tailwind
colors: {
custom: {
50: '#bc85dd',
500: '#9b50cd',
950: '#000000',
},
}SCSS
$custom: #9b50cd; $custom-light: #bc85dd; $custom-dark: #000000;
JSON
{
"hex": "#9b50cd",
"rgb": {
"r": 155,
"g": 80,
"b": 205
},
"hsl": {
"h": 276,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.57786,
"c": 0.1915,
"h": 309.3
},
"luminance": 0.17114
}Semantic roles & 50–950 ramp
primary
#9B50CD
secondary
#B7D6A2
accent
#DF4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83