#9747C2#9747C2
#9747C2 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.191 H 311.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9747C2 |
|---|---|
| RGB | rgb(151, 71, 194) |
| HSL | hsl(279, 50%, 52%) |
| HSV | hsv(279, 63%, 76%) |
| CMYK | cmyk(22.2%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(45.61, 53.74, -50.72) |
| CIE-LCH | lch(45.61, 73.90, 316.65°) |
| OKLab | oklab(55.44% 0.1273 -0.1428) |
| OKLCH | oklch(55.44% 0.191 311.7) |
| XYZ | xyz(24.7516, 14.9814, 52.6163) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.26
Darkorchid
#9932CC
ΔE00 3.80
Deep Lavender
#8D5EB7
ΔE00 6.14
Amethyst
#9B5FC0
ΔE00 6.24
Medium Purple
#9E43A2
ΔE00 6.45
Barney
#AC1DB8
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747C2 #72C247
analogous
#5A47C2 #9747C2 #C247B0
triadic
#9747C2 #C29747 #47C297
tetradic
#9747C2 #C25A47 #72C247 #47B0C2
square
#9747C2 #C25A47 #72C247 #47B0C2
split-complementary
#9747C2 #B0C247 #47C25A
monochromatic
#52246B #753399 #9747C2 #B175D1 #CBA3E0
Accessibility & contrast
On white
5.25
#9747C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9747C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747C2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747C2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#925F7E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9747c2; /* rgb */ color: rgb(151, 71, 194); /* oklch */ color: oklch(55.4% 0.191 311.7);
Tailwind
colors: {
custom: {
50: '#b97fd5',
500: '#9747c2',
950: '#000000',
},
}SCSS
$custom: #9747c2; $custom-light: #b97fd5; $custom-dark: #000000;
JSON
{
"hex": "#9747c2",
"rgb": {
"r": 151,
"g": 71,
"b": 194
},
"hsl": {
"h": 279.024,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.55436,
"c": 0.19136,
"h": 311.7
},
"luminance": 0.14981
}Semantic roles & 50–950 ramp
primary
#9747C2
secondary
#AACD97
accent
#DA4E7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83