#7640C6#7640C6
#7640C6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.197 H 297.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7640C6 |
|---|---|
| RGB | rgb(118, 64, 198) |
| HSL | hsl(264, 54%, 51%) |
| HSV | hsv(264, 68%, 78%) |
| CMYK | cmyk(40.4%, 67.7%, 0%, 22.4%) |
| CIE-LAB | lab(40.57, 51.05, -61.39) |
| CIE-LCH | lch(40.57, 79.85, 309.75°) |
| OKLab | oklab(51% 0.0907 -0.1752) |
| OKLCH | oklch(51% 0.197 297.4) |
| XYZ | xyz(19.4950, 11.5952, 54.6261) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.47
Bluish Purple
#703BE7
ΔE00 4.52
Burple
#6832E3
ΔE00 4.95
Blueviolet
#8A2BE2
ΔE00 5.04
Blurple
#5539CC
ΔE00 5.62
Blue With A Hint Of Purple
#533CC6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7640C6 #90C640
analogous
#404DC6 #7640C6 #B940C6
triadic
#7640C6 #C67640 #40C676
tetradic
#7640C6 #C6404D #90C640 #40C6B9
square
#7640C6 #C6404D #90C640 #40C6B9
split-complementary
#7640C6 #C6B940 #4DC640
monochromatic
#3E206C #5A2E9B #7640C6 #986FD4 #BA9EE2
Accessibility & contrast
On white
6.33
#7640C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7640C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7640C6
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7640C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7640C6 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#62607E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7640c6; /* rgb */ color: rgb(118, 64, 198); /* oklch */ color: oklch(51.0% 0.197 297.4);
Tailwind
colors: {
custom: {
50: '#a479d8',
500: '#7640c6',
950: '#000000',
},
}SCSS
$custom: #7640c6; $custom-light: #a479d8; $custom-dark: #000000;
JSON
{
"hex": "#7640c6",
"rgb": {
"r": 118,
"g": 64,
"b": 198
},
"hsl": {
"h": 264.179,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.51003,
"c": 0.19733,
"h": 297.4
},
"luminance": 0.11596
}Semantic roles & 50–950 ramp
primary
#7640C6
secondary
#B7CE93
accent
#DD4AA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83