#9F50C8#9F50C8
#9F50C8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.188 H 312.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F50C8 |
|---|---|
| RGB | rgb(159, 80, 200) |
| HSL | hsl(280, 52%, 55%) |
| HSV | hsv(280, 60%, 78%) |
| CMYK | cmyk(20.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(48.61, 52.57, -49.33) |
| CIE-LCH | lch(48.61, 72.09, 316.82°) |
| OKLab | oklab(57.95% 0.1264 -0.1386) |
| OKLCH | oklch(57.95% 0.188 312.4) |
| XYZ | xyz(27.5902, 17.2791, 56.5142) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.94
Lightish Purple
#A552E6
ΔE00 4.71
Deep Lavender
#8D5EB7
ΔE00 5.20
Purply
#983FB2
ΔE00 5.49
Mediumorchid
#BA55D3
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F50C8 #79C850
analogous
#6350C8 #9F50C8 #C850B5
triadic
#9F50C8 #C89F50 #50C89F
tetradic
#9F50C8 #C86350 #79C850 #50B5C8
square
#9F50C8 #C86350 #79C850 #50B5C8
split-complementary
#9F50C8 #B5C850 #50C863
monochromatic
#5C2678 #7F34A6 #9F50C8 #B97FD7 #D2ADE5
Accessibility & contrast
On white
4.71
#9F50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9F50C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F50C8
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F50C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F50C8 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#9B6684
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f50c8; /* rgb */ color: rgb(159, 80, 200); /* oklch */ color: oklch(57.9% 0.188 312.4);
Tailwind
colors: {
custom: {
50: '#be85d9',
500: '#9f50c8',
950: '#000000',
},
}SCSS
$custom: #9f50c8; $custom-light: #be85d9; $custom-dark: #000000;
JSON
{
"hex": "#9f50c8",
"rgb": {
"r": 159,
"g": 80,
"b": 200
},
"hsl": {
"h": 279.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.57949,
"c": 0.18757,
"h": 312.4
},
"luminance": 0.17278
}Semantic roles & 50–950 ramp
primary
#9F50C8
secondary
#B2D3A1
accent
#DC4C7D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B15
muted
#817C83