#7652C2#7652C2
#7652C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.168 H 294.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7652C2 |
|---|---|
| RGB | rgb(118, 82, 194) |
| HSL | hsl(259, 48%, 54%) |
| HSV | hsv(259, 58%, 76%) |
| CMYK | cmyk(39.2%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(43.92, 40.24, -53.65) |
| CIE-LCH | lch(43.92, 67.06, 306.87°) |
| OKLab | oklab(53.35% 0.0707 -0.1525) |
| OKLCH | oklch(53.35% 0.168 294.9) |
| XYZ | xyz(20.2236, 13.7807, 52.6229) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 4.03
Royal Purple
#7851A9
ΔE00 4.56
Iris
#6258C4
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 5.71
Purpley
#8756E4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7652C2 #9EC252
analogous
#5266C2 #7652C2 #AE52C2
triadic
#7652C2 #C27652 #52C276
tetradic
#7652C2 #C25266 #9EC252 #52C2AE
square
#7652C2 #C25266 #9EC252 #52C2AE
split-complementary
#7652C2 #C2AE52 #66C252
monochromatic
#402872 #59389F #7652C2 #9A7FD2 #BEACE2
Accessibility & contrast
On white
5.59
#7652C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7652C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7652C2
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7652C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7652C2 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1269C6
Deuteranopia (green-blind)
#2266C0
Tritanopia (blue-blind)
#636A82
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7652c2; /* rgb */ color: rgb(118, 82, 194); /* oklch */ color: oklch(53.3% 0.168 294.9);
Tailwind
colors: {
custom: {
50: '#a284d5',
500: '#7652c2',
950: '#000000',
},
}SCSS
$custom: #7652c2; $custom-light: #a284d5; $custom-dark: #000000;
JSON
{
"hex": "#7652c2",
"rgb": {
"r": 118,
"g": 82,
"b": 194
},
"hsl": {
"h": 259.286,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.53346,
"c": 0.16809,
"h": 294.9
},
"luminance": 0.13781
}Semantic roles & 50–950 ramp
primary
#7652C2
secondary
#C0D0A0
accent
#D750AC
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83