#9747B7#9747B7
#9747B7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.180 H 315.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9747B7 |
|---|---|
| RGB | rgb(151, 71, 183) |
| HSL | hsl(283, 44%, 50%) |
| HSV | hsv(283, 61%, 72%) |
| CMYK | cmyk(17.5%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(44.95, 51.38, -45.36) |
| CIE-LCH | lch(44.95, 68.54, 318.56°) |
| OKLab | oklab(54.75% 0.1275 -0.1272) |
| OKLCH | oklch(54.75% 0.18 315.1) |
| XYZ | xyz(23.5616, 14.5055, 46.3492) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.87
Medium Purple
#9E43A2
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 4.78
Ugly Purple
#A442A0
ΔE00 5.82
Barney
#AC1DB8
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747B7 #67B747
analogous
#5F47B7 #9747B7 #B7479F
triadic
#9747B7 #B79747 #47B797
tetradic
#9747B7 #B75F47 #67B747 #479FB7
square
#9747B7 #B75F47 #67B747 #479FB7
split-complementary
#9747B7 #9FB747 #47B75F
monochromatic
#4E255F #73368B #9747B7 #B073C9 #C99FDA
Accessibility & contrast
On white
5.38
#9747B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9747B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747B7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747B7 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2366BA
Deuteranopia (green-blind)
#456DB4
Tritanopia (blue-blind)
#955B78
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9747b7; /* rgb */ color: rgb(151, 71, 183); /* oklch */ color: oklch(54.7% 0.180 315.1);
Tailwind
colors: {
custom: {
50: '#b97fcd',
500: '#9747b7',
950: '#000000',
},
}SCSS
$custom: #9747b7; $custom-light: #b97fcd; $custom-dark: #000000;
JSON
{
"hex": "#9747b7",
"rgb": {
"r": 151,
"g": 71,
"b": 183
},
"hsl": {
"h": 282.857,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.54746,
"c": 0.18006,
"h": 315.1
},
"luminance": 0.14505
}Semantic roles & 50–950 ramp
primary
#9747B7
secondary
#A2C694
accent
#D45479
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A13
muted
#817C82