#7640BF#7640BF
#7640BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.189 H 298.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7640BF |
|---|---|
| RGB | rgb(118, 64, 191) |
| HSL | hsl(266, 50%, 50%) |
| HSV | hsv(266, 66%, 75%) |
| CMYK | cmyk(38.2%, 66.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.05, 49.25, -58.15) |
| CIE-LCH | lch(40.05, 76.21, 310.27°) |
| OKLab | oklab(50.47% 0.0917 -0.1657) |
| OKLCH | oklch(50.47% 0.189 298.9) |
| XYZ | xyz(18.7062, 11.2797, 50.4718) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.85
Bluish Purple
#703BE7
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 5.71
Burple
#6832E3
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 5.98
Blurple
#5539CC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7640BF #89BF40
analogous
#4049BF #7640BF #B640BF
triadic
#7640BF #BF7640 #40BF76
tetradic
#7640BF #BF4049 #89BF40 #40BFB6
square
#7640BF #BF4049 #89BF40 #40BFB6
split-complementary
#7640BF #BFB640 #49BF40
monochromatic
#3D2163 #5A3191 #7640BF #976ECE #B89CDE
Accessibility & contrast
On white
6.45
#7640BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7640BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7640BF
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7640BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7640BF | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#655D7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7640bf; /* rgb */ color: rgb(118, 64, 191); /* oklch */ color: oklch(50.5% 0.189 298.9);
Tailwind
colors: {
custom: {
50: '#a378d3',
500: '#7640bf',
950: '#000000',
},
}SCSS
$custom: #7640bf; $custom-light: #a378d3; $custom-dark: #000000;
JSON
{
"hex": "#7640bf",
"rgb": {
"r": 118,
"g": 64,
"b": 191
},
"hsl": {
"h": 265.512,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.50469,
"c": 0.18937,
"h": 298.9
},
"luminance": 0.1128
}Semantic roles & 50–950 ramp
primary
#7640BF
secondary
#B2CA91
accent
#D94E9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83