#7C4DD1#7C4DD1
#7C4DD1 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.194 H 295.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4DD1 |
|---|---|
| RGB | rgb(124, 77, 209) |
| HSL | hsl(261, 59%, 56%) |
| HSV | hsv(261, 63%, 82%) |
| CMYK | cmyk(40.7%, 63.2%, 0%, 18%) |
| CIE-LAB | lab(44.51, 48.34, -61.32) |
| CIE-LCH | lch(44.51, 78.08, 308.25°) |
| OKLab | oklab(54.25% 0.0838 -0.1748) |
| OKLCH | oklch(54.25% 0.194 295.6) |
| XYZ | xyz(22.4717, 14.1958, 61.8653) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 5.00
Bluish Purple
#703BE7
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.59
Iris
#6258C4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4DD1 #A2D14D
analogous
#4D60D1 #7C4DD1 #BE4DD1
triadic
#7C4DD1 #D17C4D #4DD17C
tetradic
#7C4DD1 #D14D60 #A2D14D #4DD1BE
square
#7C4DD1 #D14D60 #A2D14D #4DD1BE
split-complementary
#7C4DD1 #D1BE4D #60D14D
monochromatic
#442282 #5D2EB3 #7C4DD1 #A07EDE #C4AEEA
Accessibility & contrast
On white
5.47
#7C4DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7C4DD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4DD1
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4DD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4DD1 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#666B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c4dd1; /* rgb */ color: rgb(124, 77, 209); /* oklch */ color: oklch(54.2% 0.194 295.6);
Tailwind
colors: {
custom: {
50: '#a881e0',
500: '#7c4dd1',
950: '#000000',
},
}SCSS
$custom: #7c4dd1; $custom-light: #a881e0; $custom-dark: #000000;
JSON
{
"hex": "#7c4dd1",
"rgb": {
"r": 124,
"g": 77,
"b": 209
},
"hsl": {
"h": 261.364,
"s": 58.929,
"l": 56.078
},
"oklch": {
"l": 0.54248,
"c": 0.19389,
"h": 295.6
},
"luminance": 0.14196
}Semantic roles & 50–950 ramp
primary
#7C4DD1
secondary
#C5D8A2
accent
#E246AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83