#9F47BC#9F47BC
#9F47BC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.188 H 316.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9F47BC |
|---|---|
| RGB | rgb(159, 71, 188) |
| HSL | hsl(285, 47%, 51%) |
| HSV | hsv(285, 62%, 74%) |
| CMYK | cmyk(15.4%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(46.32, 54.38, -46.03) |
| CIE-LCH | lch(46.32, 71.24, 319.75°) |
| OKLab | oklab(56.07% 0.1375 -0.1289) |
| OKLCH | oklch(56.07% 0.188 316.8) |
| XYZ | xyz(25.6271, 15.5092, 49.2108) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.78
Medium Purple
#9E43A2
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 5.68
Amethyst
#9B5FC0
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F47BC #64BC47
analogous
#6447BC #9F47BC #BC479F
triadic
#9F47BC #BC9F47 #47BC9F
tetradic
#9F47BC #BC6447 #64BC47 #479FBC
square
#9F47BC #BC6447 #64BC47 #479FBC
split-complementary
#9F47BC #9FBC47 #47BC64
monochromatic
#542464 #7A3591 #9F47BC #B674CC #CEA1DD
Accessibility & contrast
On white
5.12
#9F47BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9F47BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F47BC
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F47BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F47BC | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268C0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#9E5B7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f47bc; /* rgb */ color: rgb(159, 71, 188); /* oklch */ color: oklch(56.1% 0.188 316.8);
Tailwind
colors: {
custom: {
50: '#be80d1',
500: '#9f47bc',
950: '#000000',
},
}SCSS
$custom: #9f47bc; $custom-light: #be80d1; $custom-dark: #000000;
JSON
{
"hex": "#9f47bc",
"rgb": {
"r": 159,
"g": 71,
"b": 188
},
"hsl": {
"h": 285.128,
"s": 46.614,
"l": 50.784
},
"oklch": {
"l": 0.56065,
"c": 0.18841,
"h": 316.8
},
"luminance": 0.15508
}Semantic roles & 50–950 ramp
primary
#9F47BC
secondary
#A2C995
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82