#7640BC#7640BC
#7640BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.186 H 299.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7640BC |
|---|---|
| RGB | rgb(118, 64, 188) |
| HSL | hsl(266, 49%, 49%) |
| HSV | hsv(266, 66%, 74%) |
| CMYK | cmyk(37.2%, 66%, 0%, 26.3%) |
| CIE-LAB | lab(39.83, 48.49, -56.75) |
| CIE-LCH | lch(39.83, 74.64, 310.51°) |
| OKLab | oklab(50.24% 0.092 -0.1616) |
| OKLCH | oklch(50.24% 0.186 299.7) |
| XYZ | xyz(18.3795, 11.1490, 48.7509) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.10
Royal Purple
#7851A9
ΔE00 5.71
Bluish Purple
#703BE7
ΔE00 6.00
Blueviolet
#8A2BE2
ΔE00 6.04
Burple
#6832E3
ΔE00 6.18
Blurple
#5539CC
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7640BC #86BC40
analogous
#4048BC #7640BC #B440BC
triadic
#7640BC #BC7640 #40BC76
tetradic
#7640BC #BC4048 #86BC40 #40BCB4
square
#7640BC #BC4048 #86BC40 #40BCB4
split-complementary
#7640BC #BCB440 #48BC40
monochromatic
#3D2161 #59308E #7640BC #966CCD #B79ADD
Accessibility & contrast
On white
6.50
#7640BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7640BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7640BC
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7640BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7640BC | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#665C78
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7640bc; /* rgb */ color: rgb(118, 64, 188); /* oklch */ color: oklch(50.2% 0.186 299.7);
Tailwind
colors: {
custom: {
50: '#a378d1',
500: '#7640bc',
950: '#000000',
},
}SCSS
$custom: #7640bc; $custom-light: #a378d1; $custom-dark: #000000;
JSON
{
"hex": "#7640bc",
"rgb": {
"r": 118,
"g": 64,
"b": 188
},
"hsl": {
"h": 266.129,
"s": 49.206,
"l": 49.412
},
"oklch": {
"l": 0.50244,
"c": 0.18594,
"h": 299.7
},
"luminance": 0.11149
}Semantic roles & 50–950 ramp
primary
#7640BC
secondary
#B0C98F
accent
#D94F9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82