#7647C5#7647C5
#7647C5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.187 H 296.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7647C5 |
|---|---|
| RGB | rgb(118, 71, 197) |
| HSL | hsl(262, 52%, 53%) |
| HSV | hsv(262, 64%, 77%) |
| CMYK | cmyk(40.1%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(41.83, 47.14, -58.76) |
| CIE-LCH | lch(41.83, 75.34, 308.74°) |
| OKLab | oklab(51.89% 0.0833 -0.1675) |
| OKLCH | oklch(51.89% 0.187 296.4) |
| XYZ | xyz(19.7999, 12.3889, 54.1606) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.83
Bluish Purple
#703BE7
ΔE00 5.05
Royal Purple
#7851A9
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 5.89
Burple
#6832E3
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7647C5 #96C547
analogous
#4757C5 #7647C5 #B547C5
triadic
#7647C5 #C57647 #47C576
tetradic
#7647C5 #C54757 #96C547 #47C5B5
square
#7647C5 #C54757 #96C547 #47C5B5
split-complementary
#7647C5 #C5B547 #57C547
monochromatic
#3F236F #5A329D #7647C5 #9976D4 #BBA4E2
Accessibility & contrast
On white
6.04
#7647C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7647C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7647C5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7647C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7647C5 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#626480
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7647c5; /* rgb */ color: rgb(118, 71, 197); /* oklch */ color: oklch(51.9% 0.187 296.4);
Tailwind
colors: {
custom: {
50: '#a37dd7',
500: '#7647c5',
950: '#000000',
},
}SCSS
$custom: #7647c5; $custom-light: #a37dd7; $custom-dark: #000000;
JSON
{
"hex": "#7647c5",
"rgb": {
"r": 118,
"g": 71,
"b": 197
},
"hsl": {
"h": 262.381,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.51888,
"c": 0.18711,
"h": 296.4
},
"luminance": 0.12389
}Semantic roles & 50–950 ramp
primary
#7647C5
secondary
#BBCF99
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83