#7645C8#7645C8
#7645C8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.193 H 296.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7645C8 |
|---|---|
| RGB | rgb(118, 69, 200) |
| HSL | hsl(262, 54%, 53%) |
| HSV | hsv(262, 66%, 78%) |
| CMYK | cmyk(41%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.65, 49.00, -60.79) |
| CIE-LCH | lch(41.65, 78.07, 308.87°) |
| OKLab | oklab(51.83% 0.0852 -0.1735) |
| OKLCH | oklch(51.83% 0.193 296.2) |
| XYZ | xyz(20.0219, 12.2775, 55.9473) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.59
Bluish Purple
#703BE7
ΔE00 4.48
Burple
#6832E3
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.47
Purpleish Blue
#6140EF
ΔE00 5.96
Blurple
#5539CC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645C8 #97C845
analogous
#4555C8 #7645C8 #B845C8
triadic
#7645C8 #C87645 #45C876
tetradic
#7645C8 #C84555 #97C845 #45C8B8
square
#7645C8 #C84555 #97C845 #45C8B8
split-complementary
#7645C8 #C8B845 #55C845
monochromatic
#3F2171 #5A2FA0 #7645C8 #9974D6 #BCA3E4
Accessibility & contrast
On white
6.08
#7645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#7645C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645C8
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645C8 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#616480
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7645c8; /* rgb */ color: rgb(118, 69, 200); /* oklch */ color: oklch(51.8% 0.193 296.2);
Tailwind
colors: {
custom: {
50: '#a47cda',
500: '#7645c8',
950: '#000000',
},
}SCSS
$custom: #7645c8; $custom-light: #a47cda; $custom-dark: #000000;
JSON
{
"hex": "#7645c8",
"rgb": {
"r": 118,
"g": 69,
"b": 200
},
"hsl": {
"h": 262.443,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.51831,
"c": 0.19328,
"h": 296.2
},
"luminance": 0.12278
}Semantic roles & 50–950 ramp
primary
#7645C8
secondary
#BCD198
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83