#7C52DF#7C52DF
#7C52DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.204 H 292.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52DF |
|---|---|
| RGB | rgb(124, 82, 223) |
| HSL | hsl(258, 69%, 60%) |
| HSV | hsv(258, 63%, 87%) |
| CMYK | cmyk(44.4%, 63.2%, 0%, 12.5%) |
| CIE-LAB | lab(46.51, 49.41, -66.08) |
| CIE-LCH | lch(46.51, 82.51, 306.78°) |
| OKLab | oklab(56.01% 0.0772 -0.1889) |
| OKLCH | oklch(56.01% 0.204 292.2) |
| XYZ | xyz(24.6451, 15.6466, 71.5193) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.41
Light Indigo
#6D5ACF
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.55
Bluish Purple
#703BE7
ΔE00 5.52
Dark Periwinkle
#665FD1
ΔE00 5.78
Purpleish Blue
#6140EF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52DF #B5DF52
analogous
#526FDF #7C52DF #C252DF
triadic
#7C52DF #DF7C52 #52DF7C
tetradic
#7C52DF #DF526F #B5DF52 #52DFC2
square
#7C52DF #DF526F #B5DF52 #52DFC2
split-complementary
#7C52DF #DFC252 #6FDF52
monochromatic
#421D9A #5826CE #7C52DF #A386E9 #CAB9F2
Accessibility & contrast
On white
5.09
#7C52DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7C52DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52DF
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52DF | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#5F7391
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c52df; /* rgb */ color: rgb(124, 82, 223); /* oklch */ color: oklch(56.0% 0.204 292.2);
Tailwind
colors: {
custom: {
50: '#a985ea',
500: '#7c52df',
950: '#000000',
},
}SCSS
$custom: #7c52df; $custom-light: #a985ea; $custom-dark: #000000;
JSON
{
"hex": "#7c52df",
"rgb": {
"r": 124,
"g": 82,
"b": 223
},
"hsl": {
"h": 257.872,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.56008,
"c": 0.20404,
"h": 292.2
},
"luminance": 0.15647
}Semantic roles & 50–950 ramp
primary
#7C52DF
secondary
#D1E2AB
accent
#EC3CB7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84