#7647CC#7647CC
#7647CC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.195 H 295.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7647CC |
|---|---|
| RGB | rgb(118, 71, 204) |
| HSL | hsl(261, 57%, 54%) |
| HSV | hsv(261, 65%, 80%) |
| CMYK | cmyk(42.2%, 65.2%, 0%, 20%) |
| CIE-LAB | lab(42.33, 49.00, -62.00) |
| CIE-LCH | lch(42.33, 79.02, 308.32°) |
| OKLab | oklab(52.41% 0.0826 -0.177) |
| OKLCH | oklch(52.41% 0.195 295) |
| XYZ | xyz(20.6206, 12.7172, 58.4832) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.78
Bluish Purple
#703BE7
ΔE00 4.17
Burple
#6832E3
ΔE00 5.38
Purpleish Blue
#6140EF
ΔE00 5.52
Blueviolet
#8A2BE2
ΔE00 5.52
Light Indigo
#6D5ACF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7647CC #9DCC47
analogous
#475BCC #7647CC #B947CC
triadic
#7647CC #CC7647 #47CC76
tetradic
#7647CC #CC475B #9DCC47 #47CCB9
square
#7647CC #CC475B #9DCC47 #47CCB9
split-complementary
#7647CC #CCB947 #5BCC47
monochromatic
#402177 #592EA7 #7647CC #9A77D9 #BDA7E7
Accessibility & contrast
On white
5.93
#7647CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7647CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7647CC
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7647CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7647CC | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#5F6683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7647cc; /* rgb */ color: rgb(118, 71, 204); /* oklch */ color: oklch(52.4% 0.195 295.0);
Tailwind
colors: {
custom: {
50: '#a47ddc',
500: '#7647cc',
950: '#000000',
},
}SCSS
$custom: #7647cc; $custom-light: #a47ddc; $custom-dark: #000000;
JSON
{
"hex": "#7647cc",
"rgb": {
"r": 118,
"g": 71,
"b": 204
},
"hsl": {
"h": 261.203,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.52414,
"c": 0.19537,
"h": 295
},
"luminance": 0.12718
}Semantic roles & 50–950 ramp
primary
#7647CC
secondary
#C0D49B
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83