#7652CF#7652CF
#7652CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.184 H 292.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7652CF |
|---|---|
| RGB | rgb(118, 82, 207) |
| HSL | hsl(257, 57%, 57%) |
| HSV | hsv(257, 60%, 81%) |
| CMYK | cmyk(43%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.79, 43.80, -59.75) |
| CIE-LCH | lch(44.79, 74.09, 306.24°) |
| OKLab | oklab(54.26% 0.0704 -0.1704) |
| OKLCH | oklch(54.26% 0.184 292.4) |
| XYZ | xyz(21.7479, 14.3905, 60.6512) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.34
Purpley
#8756E4
ΔE00 4.40
Iris
#6258C4
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 5.14
Bluey Purple
#6241C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7652CF #ABCF52
analogous
#526DCF #7652CF #B552CF
triadic
#7652CF #CF7652 #52CF76
tetradic
#7652CF #CF526D #ABCF52 #52CFB5
square
#7652CF #CF526D #ABCF52 #52CFB5
split-complementary
#7652CF #CFB552 #6DCF52
monochromatic
#3F2482 #5731B2 #7652CF #9C82DC #C2B2EA
Accessibility & contrast
On white
5.41
#7652CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7652CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7652CF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7652CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7652CF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#5D6E89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7652cf; /* rgb */ color: rgb(118, 82, 207); /* oklch */ color: oklch(54.3% 0.184 292.4);
Tailwind
colors: {
custom: {
50: '#a384de',
500: '#7652cf',
950: '#000000',
},
}SCSS
$custom: #7652cf; $custom-light: #a384de; $custom-dark: #000000;
JSON
{
"hex": "#7652cf",
"rgb": {
"r": 118,
"g": 82,
"b": 207
},
"hsl": {
"h": 257.28,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54262,
"c": 0.1844,
"h": 292.4
},
"luminance": 0.14391
}Semantic roles & 50–950 ramp
primary
#7652CF
secondary
#C9D8A5
accent
#E048B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83