#9F47AF#9F47AF
#9F47AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.176 H 321.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F47AF |
|---|---|
| RGB | rgb(159, 71, 175) |
| HSL | hsl(291, 42%, 48%) |
| HSV | hsv(291, 59%, 69%) |
| CMYK | cmyk(9.1%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.60, 51.78, -39.57) |
| CIE-LCH | lch(45.60, 65.17, 322.61°) |
| OKLab | oklab(55.3% 0.1371 -0.11) |
| OKLCH | oklch(55.3% 0.176 321.2) |
| XYZ | xyz(24.2883, 14.9737, 42.1600) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.54
Purply
#983FB2
ΔE00 2.74
Ugly Purple
#A442A0
ΔE00 3.43
Barney
#AC1DB8
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 6.64
Amethyst
#9B5FC0
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F47AF #57AF47
analogous
#6B47AF #9F47AF #AF478B
triadic
#9F47AF #AF9F47 #47AF9F
tetradic
#9F47AF #AF6B47 #57AF47 #478BAF
square
#9F47AF #AF6B47 #57AF47 #478BAF
split-complementary
#9F47AF #8BAF47 #47AF6B
monochromatic
#502458 #773583 #9F47AF #B76FC4 #CD9AD6
Accessibility & contrast
On white
5.26
#9F47AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9F47AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F47AF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F47AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F47AF | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3166B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#A05774
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9f47af; /* rgb */ color: rgb(159, 71, 175); /* oklch */ color: oklch(55.3% 0.176 321.2);
Tailwind
colors: {
custom: {
50: '#be7fc7',
500: '#9f47af',
950: '#000000',
},
}SCSS
$custom: #9f47af; $custom-light: #be7fc7; $custom-dark: #000000;
JSON
{
"hex": "#9f47af",
"rgb": {
"r": 159,
"g": 71,
"b": 175
},
"hsl": {
"h": 290.769,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55302,
"c": 0.17577,
"h": 321.2
},
"luminance": 0.14973
}Semantic roles & 50–950 ramp
primary
#9F47AF
secondary
#97C28F
accent
#D25669
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82