#7D4CD6#7D4CD6
#7D4CD6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.201 H 295.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD6 |
|---|---|
| RGB | rgb(125, 76, 214) |
| HSL | hsl(261, 63%, 57%) |
| HSV | hsv(261, 64%, 84%) |
| CMYK | cmyk(41.6%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(44.78, 50.40, -63.75) |
| CIE-LCH | lch(44.78, 81.27, 308.33°) |
| OKLab | oklab(54.58% 0.0858 -0.182) |
| OKLCH | oklch(54.58% 0.201 295.2) |
| XYZ | xyz(23.1763, 14.3834, 65.1605) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 5.72
Purpleish Blue
#6140EF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD6 #A5D64C
analogous
#4C60D6 #7D4CD6 #C24CD6
triadic
#7D4CD6 #D67D4C #4CD67D
tetradic
#7D4CD6 #D64C60 #A5D64C #4CD6C2
square
#7D4CD6 #D64C60 #A5D64C #4CD6C2
split-complementary
#7D4CD6 #D6C24C #60D64C
monochromatic
#451F88 #5E2BBA #7D4CD6 #A17EE1 #C5B0ED
Accessibility & contrast
On white
5.42
#7D4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7D4CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD6
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD6 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#666C8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d4cd6; /* rgb */ color: rgb(125, 76, 214); /* oklch */ color: oklch(54.6% 0.201 295.2);
Tailwind
colors: {
custom: {
50: '#a981e3',
500: '#7d4cd6',
950: '#000000',
},
}SCSS
$custom: #7d4cd6; $custom-light: #a981e3; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd6",
"rgb": {
"r": 125,
"g": 76,
"b": 214
},
"hsl": {
"h": 261.304,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.54577,
"c": 0.20117,
"h": 295.2
},
"luminance": 0.14384
}Semantic roles & 50–950 ramp
primary
#7D4CD6
secondary
#C7DBA3
accent
#E642AC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84