#7642CE#7642CE
#7642CE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.204 H 295.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7642CE |
|---|---|
| RGB | rgb(118, 66, 206) |
| HSL | hsl(262, 59%, 53%) |
| HSV | hsv(262, 68%, 81%) |
| CMYK | cmyk(42.7%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(41.54, 52.12, -64.45) |
| CIE-LCH | lch(41.54, 82.89, 308.96°) |
| OKLab | oklab(51.89% 0.0875 -0.1842) |
| OKLCH | oklch(51.89% 0.204 295.4) |
| XYZ | xyz(20.5570, 12.2037, 59.6530) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.47
Bluish Purple
#703BE7
ΔE00 3.51
Burple
#6832E3
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.69
Purpleish Blue
#6140EF
ΔE00 5.18
Purpley Blue
#5F34E7
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642CE #9ACE42
analogous
#4254CE #7642CE #BC42CE
triadic
#7642CE #CE7642 #42CE76
tetradic
#7642CE #CE4254 #9ACE42 #42CEBC
square
#7642CE #CE4254 #9ACE42 #42CEBC
split-complementary
#7642CE #CEBC42 #54CE42
monochromatic
#3F1F77 #592BA7 #7642CE #9973DB #BCA3E7
Accessibility & contrast
On white
6.10
#7642CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7642CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642CE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642CE | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#5E6483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7642ce; /* rgb */ color: rgb(118, 66, 206); /* oklch */ color: oklch(51.9% 0.204 295.4);
Tailwind
colors: {
custom: {
50: '#a47ade',
500: '#7642ce',
950: '#000000',
},
}SCSS
$custom: #7642ce; $custom-light: #a47ade; $custom-dark: #000000;
JSON
{
"hex": "#7642ce",
"rgb": {
"r": 118,
"g": 66,
"b": 206
},
"hsl": {
"h": 262.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.51889,
"c": 0.20396,
"h": 295.4
},
"luminance": 0.12204
}Semantic roles & 50–950 ramp
primary
#7642CE
secondary
#BED498
accent
#E246A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83