#7642CA#7642CA
#7642CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.199 H 296.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7642CA |
|---|---|
| RGB | rgb(118, 66, 202) |
| HSL | hsl(263, 56%, 53%) |
| HSV | hsv(263, 67%, 79%) |
| CMYK | cmyk(41.6%, 67.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.23, 51.08, -62.63) |
| CIE-LCH | lch(41.23, 80.81, 309.20°) |
| OKLab | oklab(51.58% 0.0881 -0.1789) |
| OKLCH | oklch(51.58% 0.199 296.2) |
| XYZ | xyz(20.0773, 12.0118, 57.1264) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.42
Bluish Purple
#703BE7
ΔE00 4.03
Burple
#6832E3
ΔE00 4.78
Blueviolet
#8A2BE2
ΔE00 4.94
Purpley Blue
#5F34E7
ΔE00 5.57
Blurple
#5539CC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642CA #96CA42
analogous
#4252CA #7642CA #BA42CA
triadic
#7642CA #CA7642 #42CA76
tetradic
#7642CA #CA4252 #96CA42 #42CABA
square
#7642CA #CA4252 #96CA42 #42CABA
split-complementary
#7642CA #CABA42 #52CA42
monochromatic
#3F2072 #5A2DA2 #7642CA #9972D7 #BBA2E5
Accessibility & contrast
On white
6.17
#7642CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7642CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642CA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642CA | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#606381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7642ca; /* rgb */ color: rgb(118, 66, 202); /* oklch */ color: oklch(51.6% 0.199 296.2);
Tailwind
colors: {
custom: {
50: '#a47adb',
500: '#7642ca',
950: '#000000',
},
}SCSS
$custom: #7642ca; $custom-light: #a47adb; $custom-dark: #000000;
JSON
{
"hex": "#7642ca",
"rgb": {
"r": 118,
"g": 66,
"b": 202
},
"hsl": {
"h": 262.941,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.51577,
"c": 0.1994,
"h": 296.2
},
"luminance": 0.12012
}Semantic roles & 50–950 ramp
primary
#7642CA
secondary
#BBD196
accent
#DF48A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83