#9747CF#9747CF
#9747CF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.205 H 308.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9747CF |
|---|---|
| RGB | rgb(151, 71, 207) |
| HSL | hsl(275, 59%, 55%) |
| HSV | hsv(275, 66%, 81%) |
| CMYK | cmyk(27.1%, 65.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.43, 56.61, -56.91) |
| CIE-LCH | lch(46.43, 80.27, 314.85°) |
| OKLab | oklab(56.29% 0.1266 -0.161) |
| OKLCH | oklch(56.29% 0.205 308.2) |
| XYZ | xyz(26.2759, 15.5912, 60.6446) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.73
Purply
#983FB2
ΔE00 5.19
Lightish Purple
#A552E6
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.75
Blueviolet
#8A2BE2
ΔE00 6.11
Vibrant Purple
#AD03DE
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9747CF #7FCF47
analogous
#5347CF #9747CF #CF47C3
triadic
#9747CF #CF9747 #47CF97
tetradic
#9747CF #CF5347 #7FCF47 #47C3CF
square
#9747CF #CF5347 #7FCF47 #47C3CF
split-complementary
#9747CF #C3CF47 #47CF53
monochromatic
#56207B #782DAC #9747CF #B278DC #CEA8E8
Accessibility & contrast
On white
5.10
#9747CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9747CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9747CF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9747CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9747CF | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#8E6485
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9747cf; /* rgb */ color: rgb(151, 71, 207); /* oklch */ color: oklch(56.3% 0.205 308.2);
Tailwind
colors: {
custom: {
50: '#ba7fde',
500: '#9747cf',
950: '#000000',
},
}SCSS
$custom: #9747cf; $custom-light: #ba7fde; $custom-dark: #000000;
JSON
{
"hex": "#9747cf",
"rgb": {
"r": 151,
"g": 71,
"b": 207
},
"hsl": {
"h": 275.294,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.56294,
"c": 0.20479,
"h": 308.2
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#9747CF
secondary
#B4D69C
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83