#7645C5#7645C5
#7645C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.190 H 296.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7645C5 |
|---|---|
| RGB | rgb(118, 69, 197) |
| HSL | hsl(263, 52%, 52%) |
| HSV | hsv(263, 65%, 77%) |
| CMYK | cmyk(40.1%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(41.44, 48.21, -59.40) |
| CIE-LCH | lch(41.44, 76.50, 309.06°) |
| OKLab | oklab(51.61% 0.0855 -0.1694) |
| OKLCH | oklch(51.61% 0.19 296.8) |
| XYZ | xyz(19.6748, 12.1387, 54.1189) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.66
Bluish Purple
#703BE7
ΔE00 4.88
Burple
#6832E3
ΔE00 5.67
Blueviolet
#8A2BE2
ΔE00 5.69
Royal Purple
#7851A9
ΔE00 5.88
Blurple
#5539CC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645C5 #94C545
analogous
#4554C5 #7645C5 #B645C5
triadic
#7645C5 #C57645 #45C576
tetradic
#7645C5 #C54554 #94C545 #45C5B6
square
#7645C5 #C54554 #94C545 #45C5B6
split-complementary
#7645C5 #C5B645 #54C545
monochromatic
#3F226D #5A319C #7645C5 #9874D4 #BBA2E2
Accessibility & contrast
On white
6.13
#7645C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7645C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645C5
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645C5 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#62637F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7645c5; /* rgb */ color: rgb(118, 69, 197); /* oklch */ color: oklch(51.6% 0.190 296.8);
Tailwind
colors: {
custom: {
50: '#a37cd7',
500: '#7645c5',
950: '#000000',
},
}SCSS
$custom: #7645c5; $custom-light: #a37cd7; $custom-dark: #000000;
JSON
{
"hex": "#7645c5",
"rgb": {
"r": 118,
"g": 69,
"b": 197
},
"hsl": {
"h": 262.969,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.51605,
"c": 0.18976,
"h": 296.8
},
"luminance": 0.12139
}Semantic roles & 50–950 ramp
primary
#7645C5
secondary
#B9CF97
accent
#DC4CA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83