#7642C1#7642C1
#7642C1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.189 H 298.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7642C1 |
|---|---|
| RGB | rgb(118, 66, 193) |
| HSL | hsl(265, 51%, 51%) |
| HSV | hsv(265, 66%, 76%) |
| CMYK | cmyk(38.9%, 65.8%, 0%, 24.3%) |
| CIE-LAB | lab(40.57, 48.74, -58.47) |
| CIE-LCH | lch(40.57, 76.12, 309.81°) |
| OKLab | oklab(50.89% 0.0893 -0.1667) |
| OKLCH | oklch(50.89% 0.189 298.2) |
| XYZ | xyz(19.0426, 11.5980, 51.6771) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.72
Bluish Purple
#703BE7
ΔE00 5.30
Blueviolet
#8A2BE2
ΔE00 5.69
Burple
#6832E3
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.85
Blurple
#5539CC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642C1 #8DC142
analogous
#424DC1 #7642C1 #B642C1
triadic
#7642C1 #C17642 #42C176
tetradic
#7642C1 #C1424D #8DC142 #42C1B6
square
#7642C1 #C1424D #8DC142 #42C1B6
split-complementary
#7642C1 #C1B642 #4DC142
monochromatic
#3E2267 #5A3195 #7642C1 #9770D0 #B99EDF
Accessibility & contrast
On white
6.33
#7642C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7642C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642C1
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642C1 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#645F7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7642c1; /* rgb */ color: rgb(118, 66, 193); /* oklch */ color: oklch(50.9% 0.189 298.2);
Tailwind
colors: {
custom: {
50: '#a37ad5',
500: '#7642c1',
950: '#000000',
},
}SCSS
$custom: #7642c1; $custom-light: #a37ad5; $custom-dark: #000000;
JSON
{
"hex": "#7642c1",
"rgb": {
"r": 118,
"g": 66,
"b": 193
},
"hsl": {
"h": 264.567,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.5089,
"c": 0.18905,
"h": 298.2
},
"luminance": 0.11598
}Semantic roles & 50–950 ramp
primary
#7642C1
secondary
#B5CC93
accent
#DA4EA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83