#9B50CF#9B50CF
#9B50CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.194 H 308.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9B50CF |
|---|---|
| RGB | rgb(155, 80, 207) |
| HSL | hsl(275, 57%, 56%) |
| HSV | hsv(275, 61%, 81%) |
| CMYK | cmyk(25.1%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.53, 53.16, -53.52) |
| CIE-LCH | lch(48.53, 75.44, 314.81°) |
| OKLab | oklab(57.91% 0.1213 -0.151) |
| OKLCH | oklch(57.91% 0.194 308.8) |
| XYZ | xyz(27.6465, 17.2113, 60.8851) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.83
Amethyst
#9B5FC0
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.50
Purpley
#8756E4
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 5.88
Purply
#983FB2
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B50CF #84CF50
analogous
#5C50CF #9B50CF #CF50C4
triadic
#9B50CF #CF9B50 #50CF9B
tetradic
#9B50CF #CF5C50 #84CF50 #50C4CF
square
#9B50CF #CF5C50 #84CF50 #50C4CF
split-complementary
#9B50CF #C4CF50 #50CF5C
monochromatic
#5B2381 #7D31B1 #9B50CF #B680DC #D2B0E9
Accessibility & contrast
On white
4.73
#9B50CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9B50CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B50CF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B50CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B50CF | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#936988
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b50cf; /* rgb */ color: rgb(155, 80, 207); /* oklch */ color: oklch(57.9% 0.194 308.8);
Tailwind
colors: {
custom: {
50: '#bc85de',
500: '#9b50cf',
950: '#000000',
},
}SCSS
$custom: #9b50cf; $custom-light: #bc85de; $custom-dark: #000000;
JSON
{
"hex": "#9b50cf",
"rgb": {
"r": 155,
"g": 80,
"b": 207
},
"hsl": {
"h": 275.433,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.57913,
"c": 0.19364,
"h": 308.8
},
"luminance": 0.17211
}Semantic roles & 50–950 ramp
primary
#9B50CF
secondary
#B9D8A3
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83