#7C52CA#7C52CA
#7C52CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.179 H 296.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52CA |
|---|---|
| RGB | rgb(124, 82, 202) |
| HSL | hsl(261, 53%, 56%) |
| HSV | hsv(261, 59%, 79%) |
| CMYK | cmyk(38.6%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(45.06, 43.75, -56.41) |
| CIE-LCH | lch(45.06, 71.39, 307.80°) |
| OKLab | oklab(54.49% 0.0785 -0.1604) |
| OKLCH | oklch(54.49% 0.179 296.1) |
| XYZ | xyz(21.9874, 14.5835, 57.5221) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.37
Purpley
#8756E4
ΔE00 4.40
Iris
#6258C4
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 5.56
Dark Periwinkle
#665FD1
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52CA #A0CA52
analogous
#5264CA #7C52CA #B852CA
triadic
#7C52CA #CA7C52 #52CA7C
tetradic
#7C52CA #CA5264 #A0CA52 #52CAB8
square
#7C52CA #CA5264 #A0CA52 #52CAB8
split-complementary
#7C52CA #CAB852 #64CA52
monochromatic
#44267C #5E34AB #7C52CA #9F81D8 #C3B0E7
Accessibility & contrast
On white
5.36
#7C52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7C52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52CA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52CA | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#696C86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7c52ca; /* rgb */ color: rgb(124, 82, 202); /* oklch */ color: oklch(54.5% 0.179 296.1);
Tailwind
colors: {
custom: {
50: '#a784db',
500: '#7c52ca',
950: '#000000',
},
}SCSS
$custom: #7c52ca; $custom-light: #a784db; $custom-dark: #000000;
JSON
{
"hex": "#7c52ca",
"rgb": {
"r": 124,
"g": 82,
"b": 202
},
"hsl": {
"h": 261,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.54494,
"c": 0.1786,
"h": 296.1
},
"luminance": 0.14584
}Semantic roles & 50–950 ramp
primary
#7C52CA
secondary
#C3D5A3
accent
#DD4BAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83