#7D4CD9#7D4CD9
#7D4CD9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.205 H 294.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD9 |
|---|---|
| RGB | rgb(125, 76, 217) |
| HSL | hsl(261, 65%, 57%) |
| HSV | hsv(261, 65%, 85%) |
| CMYK | cmyk(42.4%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(44.99, 51.19, -65.11) |
| CIE-LCH | lch(44.99, 82.83, 308.17°) |
| OKLab | oklab(54.8% 0.0854 -0.186) |
| OKLCH | oklch(54.8% 0.205 294.7) |
| XYZ | xyz(23.5629, 14.5380, 67.1968) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.68
Bluish Purple
#703BE7
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.29
Purpleish Blue
#6140EF
ΔE00 5.53
Blueviolet
#8A2BE2
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD9 #A8D94C
analogous
#4C62D9 #7D4CD9 #C34CD9
triadic
#7D4CD9 #D97D4C #4CD97D
tetradic
#7D4CD9 #D94C62 #A8D94C #4CD9C3
square
#7D4CD9 #D94C62 #A8D94C #4CD9C3
split-complementary
#7D4CD9 #D9C34C #62D94C
monochromatic
#441E8D #5D29BF #7D4CD9 #A27EE4 #C6B1EE
Accessibility & contrast
On white
5.37
#7D4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7D4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD9
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD9 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#646D8C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d4cd9; /* rgb */ color: rgb(125, 76, 217); /* oklch */ color: oklch(54.8% 0.205 294.7);
Tailwind
colors: {
custom: {
50: '#a981e6',
500: '#7d4cd9',
950: '#000000',
},
}SCSS
$custom: #7d4cd9; $custom-light: #a981e6; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd9",
"rgb": {
"r": 125,
"g": 76,
"b": 217
},
"hsl": {
"h": 260.851,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.54802,
"c": 0.20467,
"h": 294.7
},
"luminance": 0.14539
}Semantic roles & 50–950 ramp
primary
#7D4CD9
secondary
#C9DDA4
accent
#E840AE
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84