#7645C6#7645C6
#7645C6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.191 H 296.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7645C6 |
|---|---|
| RGB | rgb(118, 69, 198) |
| HSL | hsl(263, 53%, 52%) |
| HSV | hsv(263, 65%, 78%) |
| CMYK | cmyk(40.4%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.51, 48.47, -59.86) |
| CIE-LCH | lch(41.51, 77.03, 309.00°) |
| OKLab | oklab(51.68% 0.0854 -0.1708) |
| OKLCH | oklch(51.68% 0.191 296.6) |
| XYZ | xyz(19.7897, 12.1846, 54.7244) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.63
Bluish Purple
#703BE7
ΔE00 4.75
Burple
#6832E3
ΔE00 5.57
Blueviolet
#8A2BE2
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.00
Blurple
#5539CC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645C6 #95C645
analogous
#4554C6 #7645C6 #B745C6
triadic
#7645C6 #C67645 #45C676
tetradic
#7645C6 #C64554 #95C645 #45C6B7
square
#7645C6 #C64554 #95C645 #45C6B7
split-complementary
#7645C6 #C6B745 #54C645
monochromatic
#3F226F #5A309E #7645C6 #9974D4 #BBA3E3
Accessibility & contrast
On white
6.11
#7645C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7645C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645C6
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645C6 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#62637F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7645c6; /* rgb */ color: rgb(118, 69, 198); /* oklch */ color: oklch(51.7% 0.191 296.6);
Tailwind
colors: {
custom: {
50: '#a37cd8',
500: '#7645c6',
950: '#000000',
},
}SCSS
$custom: #7645c6; $custom-light: #a37cd8; $custom-dark: #000000;
JSON
{
"hex": "#7645c6",
"rgb": {
"r": 118,
"g": 69,
"b": 198
},
"hsl": {
"h": 262.791,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.5168,
"c": 0.19094,
"h": 296.6
},
"luminance": 0.12185
}Semantic roles & 50–950 ramp
primary
#7645C6
secondary
#BACF97
accent
#DC4BA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83