#9F50CF#9F50CF
#9F50CF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.4% C 0.195 H 310.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F50CF |
|---|---|
| RGB | rgb(159, 80, 207) |
| HSL | hsl(277, 57%, 56%) |
| HSV | hsv(277, 61%, 81%) |
| CMYK | cmyk(23.2%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(49.02, 54.10, -52.69) |
| CIE-LCH | lch(49.02, 75.52, 315.75°) |
| OKLab | oklab(58.38% 0.1264 -0.1484) |
| OKLCH | oklch(58.38% 0.195 310.4) |
| XYZ | xyz(28.4271, 17.6138, 60.9217) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 4.39
Deep Lavender
#8D5EB7
ΔE00 5.70
Mediumorchid
#BA55D3
ΔE00 5.76
Purpley
#8756E4
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F50CF #80CF50
analogous
#6050CF #9F50CF #CF50C0
triadic
#9F50CF #CF9F50 #50CF9F
tetradic
#9F50CF #CF6050 #80CF50 #50C0CF
square
#9F50CF #CF6050 #80CF50 #50C0CF
split-complementary
#9F50CF #C0CF50 #50CF60
monochromatic
#5E2381 #8131B1 #9F50CF #B980DC #D4B0E9
Accessibility & contrast
On white
4.64
#9F50CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9F50CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F50CF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F50CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F50CF | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#996888
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9f50cf; /* rgb */ color: rgb(159, 80, 207); /* oklch */ color: oklch(58.4% 0.195 310.4);
Tailwind
colors: {
custom: {
50: '#bf85de',
500: '#9f50cf',
950: '#000000',
},
}SCSS
$custom: #9f50cf; $custom-light: #bf85de; $custom-dark: #000000;
JSON
{
"hex": "#9f50cf",
"rgb": {
"r": 159,
"g": 80,
"b": 207
},
"hsl": {
"h": 277.323,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.58383,
"c": 0.19492,
"h": 310.4
},
"luminance": 0.17613
}Semantic roles & 50–950 ramp
primary
#9F50CF
secondary
#B7D8A3
accent
#E04881
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83