#7C5ABA#7C5ABA
#7C5ABA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.146 H 297.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5ABA |
|---|---|
| RGB | rgb(124, 90, 186) |
| HSL | hsl(261, 41%, 54%) |
| HSV | hsv(261, 52%, 73%) |
| CMYK | cmyk(33.3%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(45.83, 34.95, -45.90) |
| CIE-LCH | lch(45.83, 57.69, 307.29°) |
| OKLab | oklab(54.74% 0.0681 -0.1296) |
| OKLCH | oklch(54.74% 0.146 297.7) |
| XYZ | xyz(20.8291, 15.1423, 48.2702) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.86
Deep Lavender
#8D5EB7
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.25
Iris
#6258C4
ΔE00 5.90
Purpley
#8756E4
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5ABA #98BA5A
analogous
#5A68BA #7C5ABA #AC5ABA
triadic
#7C5ABA #BA7C5A #5ABA7C
tetradic
#7C5ABA #BA5A68 #98BA5A #5ABAAC
square
#7C5ABA #BA5A68 #98BA5A #5ABAAC
split-complementary
#7C5ABA #BAAC5A #68BA5A
monochromatic
#442D6C #5F3F97 #7C5ABA #9E85CC #C1B0DE
Accessibility & contrast
On white
5.21
#7C5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7C5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5ABA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5ABA | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#6E6D81
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c5aba; /* rgb */ color: rgb(124, 90, 186); /* oklch */ color: oklch(54.7% 0.146 297.7);
Tailwind
colors: {
custom: {
50: '#a589cf',
500: '#7c5aba',
950: '#000000',
},
}SCSS
$custom: #7c5aba; $custom-light: #a589cf; $custom-dark: #000000;
JSON
{
"hex": "#7c5aba",
"rgb": {
"r": 124,
"g": 90,
"b": 186
},
"hsl": {
"h": 261.25,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.54744,
"c": 0.14637,
"h": 297.7
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#7C5ABA
secondary
#BECCA3
accent
#D157A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82