#9F50CC#9F50CC
#9F50CC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.192 H 311.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F50CC |
|---|---|
| RGB | rgb(159, 80, 204) |
| HSL | hsl(278, 55%, 56%) |
| HSV | hsv(278, 61%, 80%) |
| CMYK | cmyk(22.1%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(48.84, 53.44, -51.26) |
| CIE-LCH | lch(48.84, 74.05, 316.19°) |
| OKLab | oklab(58.2% 0.1264 -0.1442) |
| OKLCH | oklch(58.2% 0.192 311.2) |
| XYZ | xyz(28.0638, 17.4685, 59.0084) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.08
Amethyst
#9B5FC0
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 5.74
Purply
#983FB2
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F50CC #7DCC50
analogous
#6150CC #9F50CC #CC50BB
triadic
#9F50CC #CC9F50 #50CC9F
tetradic
#9F50CC #CC6150 #7DCC50 #50BBCC
square
#9F50CC #CC6150 #7DCC50 #50BBCC
split-complementary
#9F50CC #BBCC50 #50CC61
monochromatic
#5D247D #8032AD #9F50CC #B97FDA #D3AFE8
Accessibility & contrast
On white
4.67
#9F50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9F50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F50CC
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F50CC | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#9A6787
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9f50cc; /* rgb */ color: rgb(159, 80, 204); /* oklch */ color: oklch(58.2% 0.192 311.2);
Tailwind
colors: {
custom: {
50: '#bf85dc',
500: '#9f50cc',
950: '#000000',
},
}SCSS
$custom: #9f50cc; $custom-light: #bf85dc; $custom-dark: #000000;
JSON
{
"hex": "#9f50cc",
"rgb": {
"r": 159,
"g": 80,
"b": 204
},
"hsl": {
"h": 278.226,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.58196,
"c": 0.19176,
"h": 311.2
},
"luminance": 0.17468
}Semantic roles & 50–950 ramp
primary
#9F50CC
secondary
#B5D6A2
accent
#DE4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83