#7C52BE#7C52BE
#7C52BE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.164 H 298.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52BE |
|---|---|
| RGB | rgb(124, 82, 190) |
| HSL | hsl(263, 45%, 53%) |
| HSV | hsv(263, 57%, 75%) |
| CMYK | cmyk(34.7%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(44.29, 40.59, -50.70) |
| CIE-LCH | lch(44.29, 64.94, 308.68°) |
| OKLab | oklab(53.68% 0.0786 -0.1436) |
| OKLCH | oklch(53.68% 0.164 298.7) |
| XYZ | xyz(20.6215, 14.0372, 50.3282) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.32
Deep Lavender
#8D5EB7
ΔE00 5.62
Iris
#6258C4
ΔE00 5.92
Purpley
#8756E4
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52BE #94BE52
analogous
#525EBE #7C52BE #B252BE
triadic
#7C52BE #BE7C52 #52BE7C
tetradic
#7C52BE #BE525E #94BE52 #52BEB2
square
#7C52BE #BE525E #94BE52 #52BEB2
split-complementary
#7C52BE #BEB252 #5EBE52
monochromatic
#43296D #5F3A99 #7C52BE #9E7ECF #BFABDF
Accessibility & contrast
On white
5.52
#7C52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7C52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52BE
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52BE | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#6E6880
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c52be; /* rgb */ color: rgb(124, 82, 190); /* oklch */ color: oklch(53.7% 0.164 298.7);
Tailwind
colors: {
custom: {
50: '#a684d2',
500: '#7c52be',
950: '#000000',
},
}SCSS
$custom: #7c52be; $custom-light: #a684d2; $custom-dark: #000000;
JSON
{
"hex": "#7c52be",
"rgb": {
"r": 124,
"g": 82,
"b": 190
},
"hsl": {
"h": 263.333,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.53681,
"c": 0.16375,
"h": 298.7
},
"luminance": 0.14037
}Semantic roles & 50–950 ramp
primary
#7C52BE
secondary
#BBCD9F
accent
#D553A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83