#7642C0#7642C0
#7642C0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.188 H 298.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7642C0 |
|---|---|
| RGB | rgb(118, 66, 192) |
| HSL | hsl(265, 50%, 51%) |
| HSV | hsv(265, 66%, 75%) |
| CMYK | cmyk(38.5%, 65.6%, 0%, 24.7%) |
| CIE-LAB | lab(40.50, 48.48, -58.01) |
| CIE-LCH | lch(40.50, 75.60, 309.89°) |
| OKLab | oklab(50.82% 0.0894 -0.1653) |
| OKLCH | oklch(50.82% 0.188 298.4) |
| XYZ | xyz(18.9315, 11.5535, 51.0916) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.79
Bluish Purple
#703BE7
ΔE00 5.44
Royal Purple
#7851A9
ΔE00 5.75
Blueviolet
#8A2BE2
ΔE00 5.79
Burple
#6832E3
ΔE00 5.85
Blurple
#5539CC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642C0 #8CC042
analogous
#424DC0 #7642C0 #B542C0
triadic
#7642C0 #C07642 #42C076
tetradic
#7642C0 #C0424D #8CC042 #42C0B5
square
#7642C0 #C0424D #8CC042 #42C0B5
split-complementary
#7642C0 #C0B542 #4DC042
monochromatic
#3E2266 #5A3194 #7642C0 #9770CF #B99EDF
Accessibility & contrast
On white
6.34
#7642C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7642C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642C0
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642C0 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#655F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7642c0; /* rgb */ color: rgb(118, 66, 192); /* oklch */ color: oklch(50.8% 0.188 298.4);
Tailwind
colors: {
custom: {
50: '#a37ad4',
500: '#7642c0',
950: '#000000',
},
}SCSS
$custom: #7642c0; $custom-light: #a37ad4; $custom-dark: #000000;
JSON
{
"hex": "#7642c0",
"rgb": {
"r": 118,
"g": 66,
"b": 192
},
"hsl": {
"h": 264.762,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.50815,
"c": 0.1879,
"h": 298.4
},
"luminance": 0.11554
}Semantic roles & 50–950 ramp
primary
#7642C0
secondary
#B4CB93
accent
#DA4EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83