#9747E4#9747E4
#9747E4 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.226 H 303.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9747E4 |
|---|---|
| RGB | rgb(151, 71, 228) |
| HSL | hsl(271, 74%, 59%) |
| HSV | hsv(271, 69%, 89%) |
| CMYK | cmyk(33.8%, 68.9%, 0%, 10.6%) |
| CIE-LAB | lab(47.86, 61.40, -66.58) |
| CIE-LCH | lch(47.86, 90.57, 312.68°) |
| OKLab | oklab(57.77% 0.1242 -0.1894) |
| OKLCH | oklch(57.77% 0.226 303.2) |
| XYZ | xyz(29.0161, 16.6872, 75.0761) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.97
Purpley
#8756E4
ΔE00 3.97
Electric Purple
#AA23FF
ΔE00 4.77
Darkorchid
#9932CC
ΔE00 5.50
Bright Violet
#AD0AFD
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747E4 #94E447
analogous
#4847E4 #9747E4 #E447E3
triadic
#9747E4 #E49747 #47E497
tetradic
#9747E4 #E44847 #94E447 #47E3E4
square
#9747E4 #E44847 #94E447 #47E3E4
split-complementary
#9747E4 #E3E447 #47E448
monochromatic
#5A179A #791ECF #9747E4 #B57CEC #D3B2F4
Accessibility & contrast
On white
4.84
#9747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9747E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747E4
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747E4 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#886C90
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9747e4; /* rgb */ color: rgb(151, 71, 228); /* oklch */ color: oklch(57.8% 0.226 303.2);
Tailwind
colors: {
custom: {
50: '#bb80ed',
500: '#9747e4',
950: '#000000',
},
}SCSS
$custom: #9747e4; $custom-light: #bb80ed; $custom-dark: #000000;
JSON
{
"hex": "#9747e4",
"rgb": {
"r": 151,
"g": 71,
"b": 228
},
"hsl": {
"h": 270.573,
"s": 74.408,
"l": 58.627
},
"oklch": {
"l": 0.5777,
"c": 0.22649,
"h": 303.2
},
"luminance": 0.16687
}Semantic roles & 50–950 ramp
primary
#9747E4
secondary
#C3E2A4
accent
#F13792
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84