#9747E8#9747E8
#9747E8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.231 H 302.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9747E8 |
|---|---|
| RGB | rgb(151, 71, 232) |
| HSL | hsl(270, 78%, 59%) |
| HSV | hsv(270, 69%, 91%) |
| CMYK | cmyk(34.9%, 69.4%, 0%, 9%) |
| CIE-LAB | lab(48.15, 62.32, -68.38) |
| CIE-LCH | lch(48.15, 92.52, 312.35°) |
| OKLab | oklab(58.06% 0.1236 -0.1947) |
| OKLCH | oklch(58.06% 0.231 302.4) |
| XYZ | xyz(29.5778, 16.9119, 78.0344) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.84
Lightish Purple
#A552E6
ΔE00 3.92
Electric Purple
#AA23FF
ΔE00 4.54
Bright Violet
#AD0AFD
ΔE00 5.46
Lighter Purple
#A55AF4
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747E8 #98E847
analogous
#4747E8 #9747E8 #E847E8
triadic
#9747E8 #E89747 #47E897
tetradic
#9747E8 #E84747 #98E847 #47E8E8
square
#9747E8 #E84747 #98E847 #47E8E8
split-complementary
#9747E8 #E8E847 #47E847
monochromatic
#5A14A1 #781BD7 #9747E8 #B67DEF #D4B4F6
Accessibility & contrast
On white
4.79
#9747E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9747E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747E8
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747E8 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#866D93
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9747e8; /* rgb */ color: rgb(151, 71, 232); /* oklch */ color: oklch(58.1% 0.231 302.4);
Tailwind
colors: {
custom: {
50: '#bb80f0',
500: '#9747e8',
950: '#000000',
},
}SCSS
$custom: #9747e8; $custom-light: #bb80f0; $custom-dark: #000000;
JSON
{
"hex": "#9747e8",
"rgb": {
"r": 151,
"g": 71,
"b": 232
},
"hsl": {
"h": 269.814,
"s": 77.778,
"l": 59.412
},
"oklch": {
"l": 0.58063,
"c": 0.23061,
"h": 302.4
},
"luminance": 0.16912
}Semantic roles & 50–950 ramp
primary
#9747E8
secondary
#C6E5A6
accent
#F43494
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85