#9747BE#9747BE
#9747BE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.187 H 312.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9747BE |
|---|---|
| RGB | rgb(151, 71, 190) |
| HSL | hsl(280, 48%, 51%) |
| HSV | hsv(280, 63%, 75%) |
| CMYK | cmyk(20.5%, 62.6%, 0%, 25.5%) |
| CIE-LAB | lab(45.36, 52.87, -48.79) |
| CIE-LCH | lch(45.36, 71.94, 317.30°) |
| OKLab | oklab(55.18% 0.1275 -0.1372) |
| OKLCH | oklch(55.18% 0.187 312.9) |
| XYZ | xyz(24.3084, 14.8042, 50.2822) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.69
Darkorchid
#9932CC
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747BE #6EBE47
analogous
#5B47BE #9747BE #BE47A9
triadic
#9747BE #BE9747 #47BE97
tetradic
#9747BE #BE5B47 #6EBE47 #47A9BE
square
#9747BE #BE5B47 #6EBE47 #47A9BE
split-complementary
#9747BE #A9BE47 #47BE5B
monochromatic
#512466 #743494 #9747BE #B174CE #CAA1DE
Accessibility & contrast
On white
5.30
#9747BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9747BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747BE
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747BE | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#935D7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9747be; /* rgb */ color: rgb(151, 71, 190); /* oklch */ color: oklch(55.2% 0.187 312.9);
Tailwind
colors: {
custom: {
50: '#b97fd2',
500: '#9747be',
950: '#000000',
},
}SCSS
$custom: #9747be; $custom-light: #b97fd2; $custom-dark: #000000;
JSON
{
"hex": "#9747be",
"rgb": {
"r": 151,
"g": 71,
"b": 190
},
"hsl": {
"h": 280.336,
"s": 47.791,
"l": 51.176
},
"oklch": {
"l": 0.55181,
"c": 0.18724,
"h": 312.9
},
"luminance": 0.14803
}Semantic roles & 50–950 ramp
primary
#9747BE
secondary
#A7CB96
accent
#D7507D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83