#7C52CF#7C52CF
#7C52CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.185 H 295.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52CF |
|---|---|
| RGB | rgb(124, 82, 207) |
| HSL | hsl(260, 57%, 57%) |
| HSV | hsv(260, 60%, 81%) |
| CMYK | cmyk(40.1%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.39, 45.09, -58.75) |
| CIE-LCH | lch(45.39, 74.05, 307.51°) |
| OKLab | oklab(54.84% 0.0783 -0.1673) |
| OKLCH | oklch(54.84% 0.185 295.1) |
| XYZ | xyz(22.5890, 14.8242, 60.6906) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.73
Purpley
#8756E4
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.20
Iris
#6258C4
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.91
Bluish Purple
#703BE7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52CF #A5CF52
analogous
#5267CF #7C52CF #BB52CF
triadic
#7C52CF #CF7C52 #52CF7C
tetradic
#7C52CF #CF5267 #A5CF52 #52CFBB
square
#7C52CF #CF5267 #A5CF52 #52CFBB
split-complementary
#7C52CF #CFBB52 #67CF52
monochromatic
#442482 #5D31B2 #7C52CF #A082DC #C5B2EA
Accessibility & contrast
On white
5.30
#7C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7C52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52CF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52CF | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0E6ACC
Tritanopia (blue-blind)
#676E89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7c52cf; /* rgb */ color: rgb(124, 82, 207); /* oklch */ color: oklch(54.8% 0.185 295.1);
Tailwind
colors: {
custom: {
50: '#a784de',
500: '#7c52cf',
950: '#000000',
},
}SCSS
$custom: #7c52cf; $custom-light: #a784de; $custom-dark: #000000;
JSON
{
"hex": "#7c52cf",
"rgb": {
"r": 124,
"g": 82,
"b": 207
},
"hsl": {
"h": 260.16,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54844,
"c": 0.18471,
"h": 295.1
},
"luminance": 0.14825
}Semantic roles & 50–950 ramp
primary
#7C52CF
secondary
#C7D8A5
accent
#E048AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83