#9747C1#9747C1
#9747C1 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.190 H 312.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9747C1 |
|---|---|
| RGB | rgb(151, 71, 193) |
| HSL | hsl(279, 50%, 52%) |
| HSV | hsv(279, 63%, 76%) |
| CMYK | cmyk(21.8%, 63.2%, 0%, 24.3%) |
| CIE-LAB | lab(45.55, 53.52, -50.24) |
| CIE-LCH | lch(45.55, 73.41, 316.81°) |
| OKLab | oklab(55.37% 0.1274 -0.1414) |
| OKLCH | oklch(55.37% 0.19 312) |
| XYZ | xyz(24.6396, 14.9367, 52.0268) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Darkorchid
#9932CC
ΔE00 3.86
Deep Lavender
#8D5EB7
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.23
Medium Purple
#9E43A2
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747C1 #71C147
analogous
#5A47C1 #9747C1 #C147AE
triadic
#9747C1 #C19747 #47C197
tetradic
#9747C1 #C15A47 #71C147 #47AEC1
square
#9747C1 #C15A47 #71C147 #47AEC1
split-complementary
#9747C1 #AEC147 #47C15A
monochromatic
#52246A #753398 #9747C1 #B175D0 #CBA3E0
Accessibility & contrast
On white
5.27
#9747C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9747C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747C1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747C1 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D68C5
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#925E7E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9747c1; /* rgb */ color: rgb(151, 71, 193); /* oklch */ color: oklch(55.4% 0.190 312.0);
Tailwind
colors: {
custom: {
50: '#b97fd4',
500: '#9747c1',
950: '#000000',
},
}SCSS
$custom: #9747c1; $custom-light: #b97fd4; $custom-dark: #000000;
JSON
{
"hex": "#9747c1",
"rgb": {
"r": 151,
"g": 71,
"b": 193
},
"hsl": {
"h": 279.344,
"s": 49.593,
"l": 51.765
},
"oklch": {
"l": 0.55371,
"c": 0.19033,
"h": 312
},
"luminance": 0.14936
}Semantic roles & 50–950 ramp
primary
#9747C1
secondary
#AACD97
accent
#D94F7E
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83