#7D4CDF#7D4CDF
#7D4CDF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.212 H 293.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CDF |
|---|---|
| RGB | rgb(125, 76, 223) |
| HSL | hsl(260, 70%, 59%) |
| HSV | hsv(260, 66%, 87%) |
| CMYK | cmyk(43.9%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(45.44, 52.78, -67.82) |
| CIE-LCH | lch(45.44, 85.94, 307.89°) |
| OKLab | oklab(55.26% 0.0847 -0.1939) |
| OKLCH | oklch(55.26% 0.212 293.6) |
| XYZ | xyz(24.3575, 14.8559, 71.3818) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.33
Bluish Purple
#703BE7
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.98
Purpleish Blue
#6140EF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.45
Blueviolet
#8A2BE2
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CDF #AEDF4C
analogous
#4C64DF #7D4CDF #C64CDF
triadic
#7D4CDF #DF7D4C #4CDF7D
tetradic
#7D4CDF #DF4C64 #AEDF4C #4CDFC6
square
#7D4CDF #DF4C64 #AEDF4C #4CDFC6
split-complementary
#7D4CDF #DFC64C #64DF4C
monochromatic
#441B96 #5B24CA #7D4CDF #A380E8 #C8B4F2
Accessibility & contrast
On white
5.29
#7D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7D4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CDF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CDF | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#616F8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d4cdf; /* rgb */ color: rgb(125, 76, 223); /* oklch */ color: oklch(55.3% 0.212 293.6);
Tailwind
colors: {
custom: {
50: '#aa81ea',
500: '#7d4cdf',
950: '#000000',
},
}SCSS
$custom: #7d4cdf; $custom-light: #aa81ea; $custom-dark: #000000;
JSON
{
"hex": "#7d4cdf",
"rgb": {
"r": 125,
"g": 76,
"b": 223
},
"hsl": {
"h": 260,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.55258,
"c": 0.21162,
"h": 293.6
},
"luminance": 0.14857
}Semantic roles & 50–950 ramp
primary
#7D4CDF
secondary
#CDE0A6
accent
#EC3BB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84