#7645C3#7645C3
#7645C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.187 H 297.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7645C3 |
|---|---|
| RGB | rgb(118, 69, 195) |
| HSL | hsl(263, 51%, 52%) |
| HSV | hsv(263, 65%, 76%) |
| CMYK | cmyk(39.5%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(41.29, 47.68, -58.47) |
| CIE-LCH | lch(41.29, 75.45, 309.20°) |
| OKLab | oklab(51.46% 0.0858 -0.1667) |
| OKLCH | oklch(51.46% 0.187 297.2) |
| XYZ | xyz(19.4471, 12.0476, 52.9200) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.74
Bluish Purple
#703BE7
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.86
Burple
#6832E3
ΔE00 5.87
Blurple
#5539CC
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645C3 #92C345
analogous
#4553C3 #7645C3 #B545C3
triadic
#7645C3 #C37645 #45C376
tetradic
#7645C3 #C34553 #92C345 #45C3B5
square
#7645C3 #C34553 #92C345 #45C3B5
split-complementary
#7645C3 #C3B545 #53C345
monochromatic
#3F236B #5A3199 #7645C3 #9873D2 #BAA2E1
Accessibility & contrast
On white
6.16
#7645C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#7645C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645C3
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645C3 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#63627E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7645c3; /* rgb */ color: rgb(118, 69, 195); /* oklch */ color: oklch(51.5% 0.187 297.2);
Tailwind
colors: {
custom: {
50: '#a37bd6',
500: '#7645c3',
950: '#000000',
},
}SCSS
$custom: #7645c3; $custom-light: #a37bd6; $custom-dark: #000000;
JSON
{
"hex": "#7645c3",
"rgb": {
"r": 118,
"g": 69,
"b": 195
},
"hsl": {
"h": 263.333,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.51456,
"c": 0.18743,
"h": 297.2
},
"luminance": 0.12048
}Semantic roles & 50–950 ramp
primary
#7645C3
secondary
#B8CE96
accent
#DB4DA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83