#7A52CD#7A52CD
#7A52CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.182 H 294.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7A52CD |
|---|---|
| RGB | rgb(122, 82, 205) |
| HSL | hsl(260, 55%, 56%) |
| HSV | hsv(260, 60%, 80%) |
| CMYK | cmyk(40.5%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(45.05, 44.12, -58.15) |
| CIE-LCH | lch(45.05, 72.99, 307.18°) |
| OKLab | oklab(54.51% 0.0758 -0.1656) |
| OKLCH | oklch(54.51% 0.182 294.6) |
| XYZ | xyz(22.0599, 14.5794, 59.3976) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 3.94
Purpley
#8756E4
ΔE00 4.19
Iris
#6258C4
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A52CD #A5CD52
analogous
#5268CD #7A52CD #B852CD
triadic
#7A52CD #CD7A52 #52CD7A
tetradic
#7A52CD #CD5268 #A5CD52 #52CDB8
square
#7A52CD #CD5268 #A5CD52 #52CDB8
split-complementary
#7A52CD #CDB852 #68CD52
monochromatic
#422580 #5B33AF #7A52CD #9F81DB #C3B1E8
Accessibility & contrast
On white
5.36
#7A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7A52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A52CD
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A52CD | 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)
#006CD1
Deuteranopia (green-blind)
#0F69CA
Tritanopia (blue-blind)
#646D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a52cd; /* rgb */ color: rgb(122, 82, 205); /* oklch */ color: oklch(54.5% 0.182 294.6);
Tailwind
colors: {
custom: {
50: '#a684dd',
500: '#7a52cd',
950: '#000000',
},
}SCSS
$custom: #7a52cd; $custom-light: #a684dd; $custom-dark: #000000;
JSON
{
"hex": "#7a52cd",
"rgb": {
"r": 122,
"g": 82,
"b": 205
},
"hsl": {
"h": 259.512,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.54506,
"c": 0.18212,
"h": 294.6
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#7A52CD
secondary
#C6D7A4
accent
#DE49AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83