#9747BB#9747BB
#9747BB is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.184 H 313.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9747BB |
|---|---|
| RGB | rgb(151, 71, 187) |
| HSL | hsl(281, 46%, 51%) |
| HSV | hsv(281, 62%, 73%) |
| CMYK | cmyk(19.3%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(45.19, 52.23, -47.33) |
| CIE-LCH | lch(45.19, 70.48, 317.82°) |
| OKLab | oklab(54.99% 0.1275 -0.1329) |
| OKLCH | oklch(54.99% 0.184 313.8) |
| XYZ | xyz(23.9839, 14.6744, 48.5731) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.30
Darkorchid
#9932CC
ΔE00 4.34
Medium Purple
#9E43A2
ΔE00 5.32
Deep Lavender
#8D5EB7
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747BB #6BBB47
analogous
#5D47BB #9747BB #BB47A5
triadic
#9747BB #BB9747 #47BB97
tetradic
#9747BB #BB5D47 #6BBB47 #47A5BB
square
#9747BB #BB5D47 #6BBB47 #47A5BB
split-complementary
#9747BB #A5BB47 #47BB5D
monochromatic
#502563 #743590 #9747BB #B074CC #CAA0DC
Accessibility & contrast
On white
5.34
#9747BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#9747BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747BB
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747BB | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#945C7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9747bb; /* rgb */ color: rgb(151, 71, 187); /* oklch */ color: oklch(55.0% 0.184 313.8);
Tailwind
colors: {
custom: {
50: '#b97fd0',
500: '#9747bb',
950: '#000000',
},
}SCSS
$custom: #9747bb; $custom-light: #b97fd0; $custom-dark: #000000;
JSON
{
"hex": "#9747bb",
"rgb": {
"r": 151,
"g": 71,
"b": 187
},
"hsl": {
"h": 281.379,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.54993,
"c": 0.18416,
"h": 313.8
},
"luminance": 0.14674
}Semantic roles & 50–950 ramp
primary
#9747BB
secondary
#A5C995
accent
#D6527B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82