#7640C8#7640C8
#7640C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.200 H 296.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7640C8 |
|---|---|
| RGB | rgb(118, 64, 200) |
| HSL | hsl(264, 55%, 52%) |
| HSV | hsv(264, 68%, 78%) |
| CMYK | cmyk(41%, 68%, 0%, 21.6%) |
| CIE-LAB | lab(40.72, 51.57, -62.31) |
| CIE-LCH | lch(40.72, 80.88, 309.61°) |
| OKLab | oklab(51.16% 0.0904 -0.1779) |
| OKLCH | oklch(51.16% 0.2 296.9) |
| XYZ | xyz(19.7272, 11.6881, 55.8491) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.42
Bluish Purple
#703BE7
ΔE00 4.24
Burple
#6832E3
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.88
Blurple
#5539CC
ΔE00 5.55
Purpley Blue
#5F34E7
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7640C8 #92C840
analogous
#404EC8 #7640C8 #BA40C8
triadic
#7640C8 #C87640 #40C876
tetradic
#7640C8 #C8404E #92C840 #40C8BA
square
#7640C8 #C8404E #92C840 #40C8BA
split-complementary
#7640C8 #C8BA40 #4EC840
monochromatic
#3F206E #5A2D9D #7640C8 #9870D6 #BA9FE3
Accessibility & contrast
On white
6.29
#7640C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7640C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7640C8
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7640C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7640C8 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#61617F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7640c8; /* rgb */ color: rgb(118, 64, 200); /* oklch */ color: oklch(51.2% 0.200 296.9);
Tailwind
colors: {
custom: {
50: '#a479da',
500: '#7640c8',
950: '#000000',
},
}SCSS
$custom: #7640c8; $custom-light: #a479da; $custom-dark: #000000;
JSON
{
"hex": "#7640c8",
"rgb": {
"r": 118,
"g": 64,
"b": 200
},
"hsl": {
"h": 263.824,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.51158,
"c": 0.1996,
"h": 296.9
},
"luminance": 0.11688
}Semantic roles & 50–950 ramp
primary
#7640C8
secondary
#B8D094
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83