#9747E1#9747E1
#9747E1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.223 H 303.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9747E1 |
|---|---|
| RGB | rgb(151, 71, 225) |
| HSL | hsl(271, 72%, 58%) |
| HSV | hsv(271, 68%, 88%) |
| CMYK | cmyk(32.9%, 68.4%, 0%, 11.8%) |
| CIE-LAB | lab(47.65, 60.70, -65.22) |
| CIE-LCH | lch(47.65, 89.10, 312.94°) |
| OKLab | oklab(57.55% 0.1246 -0.1854) |
| OKLCH | oklch(57.55% 0.223 303.9) |
| XYZ | xyz(28.6032, 16.5221, 72.9018) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.12
Electric Purple
#AA23FF
ΔE00 4.98
Darkorchid
#9932CC
ΔE00 5.17
Bright Violet
#AD0AFD
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747E1 #91E147
analogous
#4A47E1 #9747E1 #E147DE
triadic
#9747E1 #E19747 #47E197
tetradic
#9747E1 #E14A47 #91E147 #47DEE1
square
#9747E1 #E14A47 #91E147 #47DEE1
split-complementary
#9747E1 #DEE147 #47E14A
monochromatic
#591895 #7921CA #9747E1 #B57CEA #D2B0F2
Accessibility & contrast
On white
4.88
#9747E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9747E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747E1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747E1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#896A8F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9747e1; /* rgb */ color: rgb(151, 71, 225); /* oklch */ color: oklch(57.6% 0.223 303.9);
Tailwind
colors: {
custom: {
50: '#bb80eb',
500: '#9747e1',
950: '#000000',
},
}SCSS
$custom: #9747e1; $custom-light: #bb80eb; $custom-dark: #000000;
JSON
{
"hex": "#9747e1",
"rgb": {
"r": 151,
"g": 71,
"b": 225
},
"hsl": {
"h": 271.169,
"s": 71.963,
"l": 58.039
},
"oklch": {
"l": 0.57553,
"c": 0.2234,
"h": 303.9
},
"luminance": 0.16522
}Semantic roles & 50–950 ramp
primary
#9747E1
secondary
#C1E1A3
accent
#EF3990
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84