#7D4CDC#7D4CDC
#7D4CDC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.208 H 294.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CDC |
|---|---|
| RGB | rgb(125, 76, 220) |
| HSL | hsl(260, 67%, 58%) |
| HSV | hsv(260, 65%, 86%) |
| CMYK | cmyk(43.2%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.21, 51.98, -66.47) |
| CIE-LCH | lch(45.21, 84.38, 308.03°) |
| OKLab | oklab(55.03% 0.0851 -0.19) |
| OKLCH | oklch(55.03% 0.208 294.1) |
| XYZ | xyz(23.9567, 14.6955, 69.2706) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.49
Bluish Purple
#703BE7
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.89
Purpleish Blue
#6140EF
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.35
Blueviolet
#8A2BE2
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CDC #ABDC4C
analogous
#4C63DC #7D4CDC #C54CDC
triadic
#7D4CDC #DC7D4C #4CDC7D
tetradic
#7D4CDC #DC4C63 #ABDC4C #4CDCC5
square
#7D4CDC #DC4C63 #ABDC4C #4CDCC5
split-complementary
#7D4CDC #DCC54C #63DC4C
monochromatic
#441C91 #5C26C4 #7D4CDC #A27FE6 #C7B2F0
Accessibility & contrast
On white
5.33
#7D4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7D4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CDC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CDC | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#636E8E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d4cdc; /* rgb */ color: rgb(125, 76, 220); /* oklch */ color: oklch(55.0% 0.208 294.1);
Tailwind
colors: {
custom: {
50: '#aa81e8',
500: '#7d4cdc',
950: '#000000',
},
}SCSS
$custom: #7d4cdc; $custom-light: #aa81e8; $custom-dark: #000000;
JSON
{
"hex": "#7d4cdc",
"rgb": {
"r": 125,
"g": 76,
"b": 220
},
"hsl": {
"h": 260.417,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.55029,
"c": 0.20816,
"h": 294.1
},
"luminance": 0.14696
}Semantic roles & 50–950 ramp
primary
#7D4CDC
secondary
#CBDFA5
accent
#EA3EAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84