#7D4CD4#7D4CD4
#7D4CD4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.199 H 295.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD4 |
|---|---|
| RGB | rgb(125, 76, 212) |
| HSL | hsl(262, 61%, 56%) |
| HSV | hsv(262, 64%, 83%) |
| CMYK | cmyk(41%, 64.2%, 0%, 16.9%) |
| CIE-LAB | lab(44.63, 49.87, -62.84) |
| CIE-LCH | lch(44.63, 80.22, 308.44°) |
| OKLab | oklab(54.43% 0.086 -0.1793) |
| OKLCH | oklch(54.43% 0.199 295.6) |
| XYZ | xyz(22.9224, 14.2818, 63.8235) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.08
Bluish Purple
#703BE7
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD4 #A3D44C
analogous
#4C5FD4 #7D4CD4 #C14CD4
triadic
#7D4CD4 #D47D4C #4CD47D
tetradic
#7D4CD4 #D44C5F #A3D44C #4CD4C1
square
#7D4CD4 #D44C5F #A3D44C #4CD4C1
split-complementary
#7D4CD4 #D4C14C #5FD44C
monochromatic
#452086 #5E2CB7 #7D4CD4 #A17DE0 #C5AFEC
Accessibility & contrast
On white
5.45
#7D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7D4CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD4
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD4 | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#666B89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d4cd4; /* rgb */ color: rgb(125, 76, 212); /* oklch */ color: oklch(54.4% 0.199 295.6);
Tailwind
colors: {
custom: {
50: '#a981e2',
500: '#7d4cd4',
950: '#000000',
},
}SCSS
$custom: #7d4cd4; $custom-light: #a981e2; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd4",
"rgb": {
"r": 125,
"g": 76,
"b": 212
},
"hsl": {
"h": 261.618,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.54428,
"c": 0.19884,
"h": 295.6
},
"luminance": 0.14282
}Semantic roles & 50–950 ramp
primary
#7D4CD4
secondary
#C6DAA2
accent
#E443AA
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84