#7C54CA#7C54CA
#7C54CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.176 H 295.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7C54CA |
|---|---|
| RGB | rgb(124, 84, 202) |
| HSL | hsl(260, 53%, 56%) |
| HSV | hsv(260, 58%, 79%) |
| CMYK | cmyk(38.6%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(45.48, 42.64, -55.72) |
| CIE-LCH | lch(45.48, 70.16, 307.42°) |
| OKLab | oklab(54.81% 0.0761 -0.1584) |
| OKLCH | oklch(54.81% 0.176 295.7) |
| XYZ | xyz(22.1404, 14.8896, 57.5731) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.10
Purpley
#8756E4
ΔE00 4.24
Iris
#6258C4
ΔE00 5.28
Royal Purple
#7851A9
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C54CA #A2CA54
analogous
#5467CA #7C54CA #B754CA
triadic
#7C54CA #CA7C54 #54CA7C
tetradic
#7C54CA #CA5467 #A2CA54 #54CAB7
square
#7C54CA #CA5467 #A2CA54 #54CAB7
split-complementary
#7C54CA #CAB754 #67CA54
monochromatic
#44277D #5D35AC #7C54CA #A083D8 #C4B1E7
Accessibility & contrast
On white
5.28
#7C54CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#7C54CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C54CA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C54CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C54CA | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6CCE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#696D87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c54ca; /* rgb */ color: rgb(124, 84, 202); /* oklch */ color: oklch(54.8% 0.176 295.7);
Tailwind
colors: {
custom: {
50: '#a786db',
500: '#7c54ca',
950: '#000000',
},
}SCSS
$custom: #7c54ca; $custom-light: #a786db; $custom-dark: #000000;
JSON
{
"hex": "#7c54ca",
"rgb": {
"r": 124,
"g": 84,
"b": 202
},
"hsl": {
"h": 260.339,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.54805,
"c": 0.17575,
"h": 295.7
},
"luminance": 0.1489
}Semantic roles & 50–950 ramp
primary
#7C54CA
secondary
#C5D5A5
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83