#7642BF#7642BF
#7642BF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.187 H 298.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7642BF |
|---|---|
| RGB | rgb(118, 66, 191) |
| HSL | hsl(265, 49%, 50%) |
| HSV | hsv(265, 65%, 75%) |
| CMYK | cmyk(38.2%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(40.43, 48.22, -57.54) |
| CIE-LCH | lch(40.43, 75.07, 309.96°) |
| OKLab | oklab(50.74% 0.0895 -0.1639) |
| OKLCH | oklch(50.74% 0.187 298.6) |
| XYZ | xyz(18.8210, 11.5093, 50.5100) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.86
Bluish Purple
#703BE7
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.89
Burple
#6832E3
ΔE00 5.98
Blurple
#5539CC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642BF #8BBF42
analogous
#424CBF #7642BF #B442BF
triadic
#7642BF #BF7642 #42BF76
tetradic
#7642BF #BF424C #8BBF42 #42BFB4
square
#7642BF #BF424C #8BBF42 #42BFB4
split-complementary
#7642BF #BFB442 #4CBF42
monochromatic
#3E2265 #5A3292 #7642BF #9770CE #B89DDE
Accessibility & contrast
On white
6.36
#7642BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7642BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642BF
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642BF | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#655F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7642bf; /* rgb */ color: rgb(118, 66, 191); /* oklch */ color: oklch(50.7% 0.187 298.6);
Tailwind
colors: {
custom: {
50: '#a37ad3',
500: '#7642bf',
950: '#000000',
},
}SCSS
$custom: #7642bf; $custom-light: #a37ad3; $custom-dark: #000000;
JSON
{
"hex": "#7642bf",
"rgb": {
"r": 118,
"g": 66,
"b": 191
},
"hsl": {
"h": 264.96,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.5074,
"c": 0.18674,
"h": 298.6
},
"luminance": 0.1151
}Semantic roles & 50–950 ramp
primary
#7642BF
secondary
#B3CA93
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83