#7640BE#7640BE
#7640BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.188 H 299.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7640BE |
|---|---|
| RGB | rgb(118, 64, 190) |
| HSL | hsl(266, 50%, 50%) |
| HSV | hsv(266, 66%, 75%) |
| CMYK | cmyk(37.9%, 66.3%, 0%, 25.5%) |
| CIE-LAB | lab(39.97, 49.00, -57.68) |
| CIE-LCH | lch(39.97, 75.69, 310.35°) |
| OKLab | oklab(50.39% 0.0918 -0.1643) |
| OKLCH | oklch(50.39% 0.188 299.2) |
| XYZ | xyz(18.5966, 11.2358, 49.8942) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.93
Bluish Purple
#703BE7
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 5.82
Royal Purple
#7851A9
ΔE00 5.89
Burple
#6832E3
ΔE00 5.91
Blurple
#5539CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7640BE #88BE40
analogous
#4049BE #7640BE #B540BE
triadic
#7640BE #BE7640 #40BE76
tetradic
#7640BE #BE4049 #88BE40 #40BEB5
square
#7640BE #BE4049 #88BE40 #40BEB5
split-complementary
#7640BE #BEB540 #49BE40
monochromatic
#3D2162 #5A3190 #7640BE #976DCE #B79BDD
Accessibility & contrast
On white
6.47
#7640BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7640BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7640BE
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7640BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7640BE | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#655D79
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7640be; /* rgb */ color: rgb(118, 64, 190); /* oklch */ color: oklch(50.4% 0.188 299.2);
Tailwind
colors: {
custom: {
50: '#a378d2',
500: '#7640be',
950: '#000000',
},
}SCSS
$custom: #7640be; $custom-light: #a378d2; $custom-dark: #000000;
JSON
{
"hex": "#7640be",
"rgb": {
"r": 118,
"g": 64,
"b": 190
},
"hsl": {
"h": 265.714,
"s": 49.606,
"l": 49.804
},
"oklch": {
"l": 0.50393,
"c": 0.18822,
"h": 299.2
},
"luminance": 0.11236
}Semantic roles & 50–950 ramp
primary
#7640BE
secondary
#B1C990
accent
#D94F9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83