#7C4DAF#7C4DAF
#7C4DAF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.153 H 303.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DAF |
|---|---|
| RGB | rgb(124, 77, 175) |
| HSL | hsl(269, 39%, 49%) |
| HSV | hsv(269, 56%, 69%) |
| CMYK | cmyk(29.1%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(42.29, 39.57, -45.10) |
| CIE-LCH | lch(42.29, 60.00, 311.26°) |
| OKLab | oklab(51.92% 0.0847 -0.1272) |
| OKLCH | oklch(51.92% 0.153 303.7) |
| XYZ | xyz(18.7022, 12.6880, 42.0129) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.75
Deep Lavender
#8D5EB7
ΔE00 6.07
Purply
#983FB2
ΔE00 6.14
Bluey Purple
#6241C7
ΔE00 7.42
Darkorchid
#9932CC
ΔE00 7.48
Light Indigo
#6D5ACF
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DAF #80AF4D
analogous
#4D4FAF #7C4DAF #AD4DAF
triadic
#7C4DAF #AF7C4D #4DAF7C
tetradic
#7C4DAF #AF4D4F #80AF4D #4DAFAD
square
#7C4DAF #AF4D4F #80AF4D #4DAFAD
split-complementary
#7C4DAF #AFAD4D #4FAF4D
monochromatic
#40285A #5E3A85 #7C4DAF #9B76C3 #BAA1D6
Accessibility & contrast
On white
5.94
#7C4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7C4DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DAF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DAF | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#736076
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7c4daf; /* rgb */ color: rgb(124, 77, 175); /* oklch */ color: oklch(51.9% 0.153 303.7);
Tailwind
colors: {
custom: {
50: '#a580c7',
500: '#7c4daf',
950: '#000000',
},
}SCSS
$custom: #7c4daf; $custom-light: #a580c7; $custom-dark: #000000;
JSON
{
"hex": "#7c4daf",
"rgb": {
"r": 124,
"g": 77,
"b": 175
},
"hsl": {
"h": 268.776,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.51916,
"c": 0.15286,
"h": 303.7
},
"luminance": 0.12688
}Semantic roles & 50–950 ramp
primary
#7C4DAF
secondary
#ADC395
accent
#CF5996
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82