#7C5ACF#7C5ACF
#7C5ACF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.173 H 293.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5ACF |
|---|---|
| RGB | rgb(124, 90, 207) |
| HSL | hsl(257, 55%, 58%) |
| HSV | hsv(257, 57%, 81%) |
| CMYK | cmyk(40.1%, 56.5%, 0%, 18.8%) |
| CIE-LAB | lab(47.11, 40.59, -55.98) |
| CIE-LCH | lch(47.11, 69.15, 305.94°) |
| OKLab | oklab(56.1% 0.0689 -0.1592) |
| OKLCH | oklch(56.1% 0.173 293.4) |
| XYZ | xyz(23.2278, 16.1018, 60.9035) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.54
Dark Periwinkle
#665FD1
ΔE00 4.70
Iris
#6258C4
ΔE00 5.13
Deep Lavender
#8D5EB7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5ACF #ADCF5A
analogous
#5A72CF #7C5ACF #B65ACF
triadic
#7C5ACF #CF7C5A #5ACF7C
tetradic
#7C5ACF #CF5A72 #ADCF5A #5ACFB6
square
#7C5ACF #CF5A72 #ADCF5A #5ACFB6
split-complementary
#7C5ACF #CFB65A #72CF5A
monochromatic
#432787 #5B35B7 #7C5ACF #A289DD #C7B9EB
Accessibility & contrast
On white
4.98
#7C5ACF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7C5ACF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5ACF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5ACF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5ACF | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#266ECC
Tritanopia (blue-blind)
#66738C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c5acf; /* rgb */ color: rgb(124, 90, 207); /* oklch */ color: oklch(56.1% 0.173 293.4);
Tailwind
colors: {
custom: {
50: '#a78ade',
500: '#7c5acf',
950: '#000000',
},
}SCSS
$custom: #7c5acf; $custom-light: #a78ade; $custom-dark: #000000;
JSON
{
"hex": "#7c5acf",
"rgb": {
"r": 124,
"g": 90,
"b": 207
},
"hsl": {
"h": 257.436,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.56102,
"c": 0.17344,
"h": 293.4
},
"luminance": 0.16102
}Semantic roles & 50–950 ramp
primary
#7C5ACF
secondary
#CCDAAB
accent
#DE4AB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83