#9F47DE#9F47DE
#9F47DE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.222 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F47DE |
|---|---|
| RGB | rgb(159, 71, 222) |
| HSL | hsl(275, 70%, 57%) |
| HSV | hsv(275, 68%, 87%) |
| CMYK | cmyk(28.4%, 68%, 0%, 12.9%) |
| CIE-LAB | lab(48.45, 61.62, -62.18) |
| CIE-LCH | lch(48.45, 87.54, 314.74°) |
| OKLab | oklab(58.28% 0.1355 -0.1762) |
| OKLCH | oklch(58.28% 0.222 307.6) |
| XYZ | xyz(29.7334, 17.1517, 70.8373) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.16
Electric Purple
#AA23FF
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.20
Bright Violet
#AD0AFD
ΔE00 5.70
Lighter Purple
#A55AF4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F47DE #86DE47
analogous
#5447DE #9F47DE #DE47D1
triadic
#9F47DE #DE9F47 #47DE9F
tetradic
#9F47DE #DE5447 #86DE47 #47D1DE
square
#9F47DE #DE5447 #86DE47 #47D1DE
split-complementary
#9F47DE #D1DE47 #47DE54
monochromatic
#5F1A91 #8123C5 #9F47DE #BA7BE7 #D5AFF1
Accessibility & contrast
On white
4.74
#9F47DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9F47DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F47DE
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F47DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F47DE | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f47de; /* rgb */ color: rgb(159, 71, 222); /* oklch */ color: oklch(58.3% 0.222 307.6);
Tailwind
colors: {
custom: {
50: '#c081e9',
500: '#9f47de',
950: '#000000',
},
}SCSS
$custom: #9f47de; $custom-light: #c081e9; $custom-dark: #000000;
JSON
{
"hex": "#9f47de",
"rgb": {
"r": 159,
"g": 71,
"b": 222
},
"hsl": {
"h": 274.967,
"s": 69.585,
"l": 57.451
},
"oklch": {
"l": 0.58275,
"c": 0.22227,
"h": 307.6
},
"luminance": 0.17151
}Semantic roles & 50–950 ramp
primary
#9F47DE
secondary
#BBDFA2
accent
#EC3B85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84