#7D52CD#7D52CD
#7D52CD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.182 H 295.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52CD |
|---|---|
| RGB | rgb(125, 82, 205) |
| HSL | hsl(261, 55%, 56%) |
| HSV | hsv(261, 60%, 80%) |
| CMYK | cmyk(39%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(45.36, 44.77, -57.64) |
| CIE-LCH | lch(45.36, 72.99, 307.84°) |
| OKLab | oklab(54.8% 0.0797 -0.164) |
| OKLCH | oklch(54.8% 0.182 295.9) |
| XYZ | xyz(22.4913, 14.8019, 59.4178) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.95
Purpley
#8756E4
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.41
Iris
#6258C4
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.01
Dark Periwinkle
#665FD1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52CD #A2CD52
analogous
#5265CD #7D52CD #BB52CD
triadic
#7D52CD #CD7D52 #52CD7D
tetradic
#7D52CD #CD5265 #A2CD52 #52CDBB
square
#7D52CD #CD5265 #A2CD52 #52CDBB
split-complementary
#7D52CD #CDBB52 #65CD52
monochromatic
#452580 #5E33AF #7D52CD #A181DB #C4B1E8
Accessibility & contrast
On white
5.30
#7D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7D52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52CD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52CD | 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)
#006CD1
Deuteranopia (green-blind)
#176ACA
Tritanopia (blue-blind)
#696D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d52cd; /* rgb */ color: rgb(125, 82, 205); /* oklch */ color: oklch(54.8% 0.182 295.9);
Tailwind
colors: {
custom: {
50: '#a884dd',
500: '#7d52cd',
950: '#000000',
},
}SCSS
$custom: #7d52cd; $custom-light: #a884dd; $custom-dark: #000000;
JSON
{
"hex": "#7d52cd",
"rgb": {
"r": 125,
"g": 82,
"b": 205
},
"hsl": {
"h": 260.976,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.54803,
"c": 0.18236,
"h": 295.9
},
"luminance": 0.14802
}Semantic roles & 50–950 ramp
primary
#7D52CD
secondary
#C5D7A4
accent
#DE49AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83