#9747BF#9747BF
#9747BF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.188 H 312.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9747BF |
|---|---|
| RGB | rgb(151, 71, 191) |
| HSL | hsl(280, 48%, 51%) |
| HSV | hsv(280, 63%, 75%) |
| CMYK | cmyk(20.9%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(45.43, 53.09, -49.27) |
| CIE-LCH | lch(45.43, 72.43, 317.13°) |
| OKLab | oklab(55.24% 0.1274 -0.1386) |
| OKLCH | oklch(55.24% 0.188 312.6) |
| XYZ | xyz(24.4180, 14.8480, 50.8598) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.83
Darkorchid
#9932CC
ΔE00 3.99
Medium Purple
#9E43A2
ΔE00 5.97
Deep Lavender
#8D5EB7
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747BF #6FBF47
analogous
#5B47BF #9747BF #BF47AB
triadic
#9747BF #BF9747 #47BF97
tetradic
#9747BF #BF5B47 #6FBF47 #47ABBF
square
#9747BF #BF5B47 #6FBF47 #47ABBF
split-complementary
#9747BF #ABBF47 #47BF5B
monochromatic
#512468 #753495 #9747BF #B174CF #CAA2DF
Accessibility & contrast
On white
5.29
#9747BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#9747BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747BF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747BF | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#935E7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9747bf; /* rgb */ color: rgb(151, 71, 191); /* oklch */ color: oklch(55.2% 0.188 312.6);
Tailwind
colors: {
custom: {
50: '#b97fd3',
500: '#9747bf',
950: '#000000',
},
}SCSS
$custom: #9747bf; $custom-light: #b97fd3; $custom-dark: #000000;
JSON
{
"hex": "#9747bf",
"rgb": {
"r": 151,
"g": 71,
"b": 191
},
"hsl": {
"h": 280,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.55244,
"c": 0.18827,
"h": 312.6
},
"luminance": 0.14847
}Semantic roles & 50–950 ramp
primary
#9747BF
secondary
#A8CB96
accent
#D8507D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83