#7A52BB#7A52BB
#7A52BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.160 H 298.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A52BB |
|---|---|
| RGB | rgb(122, 82, 187) |
| HSL | hsl(263, 44%, 53%) |
| HSV | hsv(263, 56%, 73%) |
| CMYK | cmyk(34.8%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(43.89, 39.32, -49.60) |
| CIE-LCH | lch(43.89, 63.29, 308.40°) |
| OKLab | oklab(53.28% 0.0759 -0.1405) |
| OKLCH | oklch(53.28% 0.16 298.4) |
| XYZ | xyz(20.0108, 13.7598, 48.6057) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.35
Deep Lavender
#8D5EB7
ΔE00 5.74
Iris
#6258C4
ΔE00 5.76
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A52BB #93BB52
analogous
#525FBB #7A52BB #AE52BB
triadic
#7A52BB #BB7A52 #52BB7A
tetradic
#7A52BB #BB525F #93BB52 #52BBAE
square
#7A52BB #BB525F #93BB52 #52BBAE
split-complementary
#7A52BB #BBAE52 #5FBB52
monochromatic
#422969 #5D3B95 #7A52BB #9C7ECC #BEAADE
Accessibility & contrast
On white
5.60
#7A52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7A52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A52BB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A52BB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#6C677E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7a52bb; /* rgb */ color: rgb(122, 82, 187); /* oklch */ color: oklch(53.3% 0.160 298.4);
Tailwind
colors: {
custom: {
50: '#a484d0',
500: '#7a52bb',
950: '#000000',
},
}SCSS
$custom: #7a52bb; $custom-light: #a484d0; $custom-dark: #000000;
JSON
{
"hex": "#7a52bb",
"rgb": {
"r": 122,
"g": 82,
"b": 187
},
"hsl": {
"h": 262.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.53278,
"c": 0.15969,
"h": 298.4
},
"luminance": 0.1376
}Semantic roles & 50–950 ramp
primary
#7A52BB
secondary
#BACB9E
accent
#D354A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82