#7D4CD1#7D4CD1
#7D4CD1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.195 H 296.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD1 |
|---|---|
| RGB | rgb(125, 76, 209) |
| HSL | hsl(262, 59%, 56%) |
| HSV | hsv(262, 64%, 82%) |
| CMYK | cmyk(40.2%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(44.42, 49.08, -61.46) |
| CIE-LCH | lch(44.42, 78.66, 308.61°) |
| OKLab | oklab(54.21% 0.0862 -0.1752) |
| OKLCH | oklch(54.21% 0.195 296.2) |
| XYZ | xyz(22.5475, 14.1319, 61.8490) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.89
Bluish Purple
#703BE7
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.29
Bluey Purple
#6241C7
ΔE00 5.60
Blueviolet
#8A2BE2
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD1 #A0D14C
analogous
#4C5DD1 #7D4CD1 #BF4CD1
triadic
#7D4CD1 #D17D4C #4CD17D
tetradic
#7D4CD1 #D14C5D #A0D14C #4CD1BF
square
#7D4CD1 #D14C5D #A0D14C #4CD1BF
split-complementary
#7D4CD1 #D1BF4C #5DD14C
monochromatic
#452181 #5E2EB2 #7D4CD1 #A07DDE #C4ADEA
Accessibility & contrast
On white
5.49
#7D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#7D4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD1
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD1 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#686A88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7d4cd1; /* rgb */ color: rgb(125, 76, 209); /* oklch */ color: oklch(54.2% 0.195 296.2);
Tailwind
colors: {
custom: {
50: '#a881e0',
500: '#7d4cd1',
950: '#000000',
},
}SCSS
$custom: #7d4cd1; $custom-light: #a881e0; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd1",
"rgb": {
"r": 125,
"g": 76,
"b": 209
},
"hsl": {
"h": 262.105,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.54207,
"c": 0.19532,
"h": 296.2
},
"luminance": 0.14132
}Semantic roles & 50–950 ramp
primary
#7D4CD1
secondary
#C4D8A1
accent
#E246A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83