#9747C0#9747C0
#9747C0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.189 H 312.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9747C0 |
|---|---|
| RGB | rgb(151, 71, 192) |
| HSL | hsl(280, 49%, 52%) |
| HSV | hsv(280, 63%, 75%) |
| CMYK | cmyk(21.4%, 63%, 0%, 24.7%) |
| CIE-LAB | lab(45.49, 53.31, -49.76) |
| CIE-LCH | lch(45.49, 72.92, 316.97°) |
| OKLab | oklab(55.31% 0.1274 -0.14) |
| OKLCH | oklch(55.31% 0.189 312.3) |
| XYZ | xyz(24.5285, 14.8922, 51.4413) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.97
Darkorchid
#9932CC
ΔE00 3.92
Deep Lavender
#8D5EB7
ΔE00 6.09
Medium Purple
#9E43A2
ΔE00 6.13
Amethyst
#9B5FC0
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747C0 #70C047
analogous
#5B47C0 #9747C0 #C047AD
triadic
#9747C0 #C09747 #47C097
tetradic
#9747C0 #C05B47 #70C047 #47ADC0
square
#9747C0 #C05B47 #70C047 #47ADC0
split-complementary
#9747C0 #ADC047 #47C05B
monochromatic
#512469 #753396 #9747C0 #B175D0 #CBA2DF
Accessibility & contrast
On white
5.28
#9747C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9747C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747C0
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747C0 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1168C4
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#925E7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9747c0; /* rgb */ color: rgb(151, 71, 192); /* oklch */ color: oklch(55.3% 0.189 312.3);
Tailwind
colors: {
custom: {
50: '#b97fd4',
500: '#9747c0',
950: '#000000',
},
}SCSS
$custom: #9747c0; $custom-light: #b97fd4; $custom-dark: #000000;
JSON
{
"hex": "#9747c0",
"rgb": {
"r": 151,
"g": 71,
"b": 192
},
"hsl": {
"h": 279.669,
"s": 48.988,
"l": 51.569
},
"oklch": {
"l": 0.55308,
"c": 0.1893,
"h": 312.3
},
"luminance": 0.14892
}Semantic roles & 50–950 ramp
primary
#9747C0
secondary
#A9CC97
accent
#D94F7E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83