#7642CF#7642CF
#7642CF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.205 H 295.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7642CF |
|---|---|
| RGB | rgb(118, 66, 207) |
| HSL | hsl(262, 59%, 54%) |
| HSV | hsv(262, 68%, 81%) |
| CMYK | cmyk(43%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(41.61, 52.38, -64.90) |
| CIE-LCH | lch(41.61, 83.40, 308.91°) |
| OKLab | oklab(51.97% 0.0874 -0.1856) |
| OKLCH | oklch(51.97% 0.205 295.2) |
| XYZ | xyz(20.6789, 12.2525, 60.2948) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.38
Bluey Purple
#6241C7
ΔE00 3.49
Burple
#6832E3
ΔE00 4.37
Blueviolet
#8A2BE2
ΔE00 4.63
Purpleish Blue
#6140EF
ΔE00 5.06
Purpley Blue
#5F34E7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7642CF #9BCF42
analogous
#4254CF #7642CF #BD42CF
triadic
#7642CF #CF7642 #42CF76
tetradic
#7642CF #CF4254 #9BCF42 #42CFBD
square
#7642CF #CF4254 #9BCF42 #42CFBD
split-complementary
#7642CF #CFBD42 #54CF42
monochromatic
#401F78 #592BA9 #7642CF #9973DB #BDA4E8
Accessibility & contrast
On white
6.09
#7642CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7642CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7642CF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7642CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7642CF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#5E6483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7642cf; /* rgb */ color: rgb(118, 66, 207); /* oklch */ color: oklch(52.0% 0.205 295.2);
Tailwind
colors: {
custom: {
50: '#a47adf',
500: '#7642cf',
950: '#000000',
},
}SCSS
$custom: #7642cf; $custom-light: #a47adf; $custom-dark: #000000;
JSON
{
"hex": "#7642cf",
"rgb": {
"r": 118,
"g": 66,
"b": 207
},
"hsl": {
"h": 262.128,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.51968,
"c": 0.2051,
"h": 295.2
},
"luminance": 0.12253
}Semantic roles & 50–950 ramp
primary
#7642CF
secondary
#BED598
accent
#E345A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83