#7C48CA#7C48CA
#7C48CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.192 H 297.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7C48CA |
|---|---|
| RGB | rgb(124, 72, 202) |
| HSL | hsl(264, 55%, 54%) |
| HSV | hsv(264, 64%, 79%) |
| CMYK | cmyk(38.6%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.04, 49.17, -59.67) |
| CIE-LCH | lch(43.04, 77.32, 309.49°) |
| OKLab | oklab(53.03% 0.0899 -0.17) |
| OKLCH | oklch(53.03% 0.192 297.9) |
| XYZ | xyz(21.2875, 13.1838, 57.2888) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.89
Bluish Purple
#703BE7
ΔE00 4.97
Blueviolet
#8A2BE2
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.80
Light Indigo
#6D5ACF
ΔE00 5.83
Darkorchid
#9932CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C48CA #96CA48
analogous
#4855CA #7C48CA #BD48CA
triadic
#7C48CA #CA7C48 #48CA7C
tetradic
#7C48CA #CA4855 #96CA48 #48CABD
square
#7C48CA #CA4855 #96CA48 #48CABD
split-complementary
#7C48CA #CABD48 #55CA48
monochromatic
#432276 #5F30A5 #7C48CA #9E77D8 #C0A7E5
Accessibility & contrast
On white
5.77
#7C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#7C48CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C48CA
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C48CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C48CA | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#696683
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7c48ca; /* rgb */ color: rgb(124, 72, 202); /* oklch */ color: oklch(53.0% 0.192 297.9);
Tailwind
colors: {
custom: {
50: '#a77edb',
500: '#7c48ca',
950: '#000000',
},
}SCSS
$custom: #7c48ca; $custom-light: #a77edb; $custom-dark: #000000;
JSON
{
"hex": "#7c48ca",
"rgb": {
"r": 124,
"g": 72,
"b": 202
},
"hsl": {
"h": 264,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.53027,
"c": 0.19233,
"h": 297.9
},
"luminance": 0.13184
}Semantic roles & 50–950 ramp
primary
#7C48CA
secondary
#BCD39B
accent
#DE49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83