#7646CF#7646CF
#7646CF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.200 H 294.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7646CF |
|---|---|
| RGB | rgb(118, 70, 207) |
| HSL | hsl(261, 59%, 54%) |
| HSV | hsv(261, 66%, 81%) |
| CMYK | cmyk(43%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(42.36, 50.33, -63.68) |
| CIE-LCH | lch(42.36, 81.17, 308.32°) |
| OKLab | oklab(52.51% 0.0833 -0.182) |
| OKLCH | oklch(52.51% 0.2 294.6) |
| XYZ | xyz(20.9208, 12.7363, 60.3755) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.72
Bluey Purple
#6241C7
ΔE00 3.75
Burple
#6832E3
ΔE00 5.01
Purpleish Blue
#6140EF
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.21
Purpley Blue
#5F34E7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7646CF #9FCF46
analogous
#465BCF #7646CF #BB46CF
triadic
#7646CF #CF7646 #46CF76
tetradic
#7646CF #CF465B #9FCF46 #46CFBB
square
#7646CF #CF465B #9FCF46 #46CFBB
split-complementary
#7646CF #CFBB46 #5BCF46
monochromatic
#40207B #592CAB #7646CF #9A77DC #BEA7E8
Accessibility & contrast
On white
5.92
#7646CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7646CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7646CF
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7646CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7646CF | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#5E6785
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7646cf; /* rgb */ color: rgb(118, 70, 207); /* oklch */ color: oklch(52.5% 0.200 294.6);
Tailwind
colors: {
custom: {
50: '#a47cdf',
500: '#7646cf',
950: '#000000',
},
}SCSS
$custom: #7646cf; $custom-light: #a47cdf; $custom-dark: #000000;
JSON
{
"hex": "#7646cf",
"rgb": {
"r": 118,
"g": 70,
"b": 207
},
"hsl": {
"h": 261.022,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.52505,
"c": 0.20015,
"h": 294.6
},
"luminance": 0.12737
}Semantic roles & 50–950 ramp
primary
#7646CF
secondary
#C1D59B
accent
#E246AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83