#7C52BB#7C52BB
#7C52BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.160 H 299.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7C52BB |
|---|---|
| RGB | rgb(124, 82, 187) |
| HSL | hsl(264, 44%, 53%) |
| HSV | hsv(264, 56%, 73%) |
| CMYK | cmyk(33.7%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.10, 39.81, -49.25) |
| CIE-LCH | lch(44.10, 63.32, 308.95°) |
| OKLab | oklab(53.48% 0.0786 -0.1394) |
| OKLCH | oklch(53.48% 0.16 299.4) |
| XYZ | xyz(20.2969, 13.9074, 48.6191) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.15
Light Indigo
#6D5ACF
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.66
Iris
#6258C4
ΔE00 6.14
Purpley
#8756E4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C52BB #91BB52
analogous
#525DBB #7C52BB #B052BB
triadic
#7C52BB #BB7C52 #52BB7C
tetradic
#7C52BB #BB525D #91BB52 #52BBB0
square
#7C52BB #BB525D #91BB52 #52BBB0
split-complementary
#7C52BB #BBB052 #5DBB52
monochromatic
#432969 #5F3B95 #7C52BB #9D7ECC #BFAADE
Accessibility & contrast
On white
5.55
#7C52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7C52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C52BB
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C52BB | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#6F677E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7c52bb; /* rgb */ color: rgb(124, 82, 187); /* oklch */ color: oklch(53.5% 0.160 299.4);
Tailwind
colors: {
custom: {
50: '#a584d0',
500: '#7c52bb',
950: '#000000',
},
}SCSS
$custom: #7c52bb; $custom-light: #a584d0; $custom-dark: #000000;
JSON
{
"hex": "#7c52bb",
"rgb": {
"r": 124,
"g": 82,
"b": 187
},
"hsl": {
"h": 264,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.53484,
"c": 0.16,
"h": 299.4
},
"luminance": 0.13908
}Semantic roles & 50–950 ramp
primary
#7C52BB
secondary
#B9CB9E
accent
#D354A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82