#7647C2#7647C2
#7647C2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.184 H 297.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7647C2 |
|---|---|
| RGB | rgb(118, 71, 194) |
| HSL | hsl(263, 50%, 52%) |
| HSV | hsv(263, 63%, 76%) |
| CMYK | cmyk(39.2%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(41.62, 46.35, -57.36) |
| CIE-LCH | lch(41.62, 73.75, 308.94°) |
| OKLab | oklab(51.67% 0.0836 -0.1634) |
| OKLCH | oklch(51.67% 0.184 297.1) |
| XYZ | xyz(19.4596, 12.2527, 52.3682) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.95
Royal Purple
#7851A9
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.23
Slate Blue
#6A5ACD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7647C2 #93C247
analogous
#4756C2 #7647C2 #B447C2
triadic
#7647C2 #C27647 #47C276
tetradic
#7647C2 #C24756 #93C247 #47C2B4
square
#7647C2 #C24756 #93C247 #47C2B4
split-complementary
#7647C2 #C2B447 #56C247
monochromatic
#3F246B #5A3399 #7647C2 #9875D1 #BAA3E0
Accessibility & contrast
On white
6.09
#7647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7647C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7647C2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7647C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7647C2 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#64637E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7647c2; /* rgb */ color: rgb(118, 71, 194); /* oklch */ color: oklch(51.7% 0.184 297.1);
Tailwind
colors: {
custom: {
50: '#a37dd5',
500: '#7647c2',
950: '#000000',
},
}SCSS
$custom: #7647c2; $custom-light: #a37dd5; $custom-dark: #000000;
JSON
{
"hex": "#7647c2",
"rgb": {
"r": 118,
"g": 71,
"b": 194
},
"hsl": {
"h": 262.927,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.51667,
"c": 0.18355,
"h": 297.1
},
"luminance": 0.12253
}Semantic roles & 50–950 ramp
primary
#7647C2
secondary
#B9CD97
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83