#7D4FDC#7D4FDC
#7D4FDC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.204 H 293.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FDC |
|---|---|
| RGB | rgb(125, 79, 220) |
| HSL | hsl(260, 67%, 59%) |
| HSV | hsv(260, 64%, 86%) |
| CMYK | cmyk(43.2%, 64.1%, 0%, 13.7%) |
| CIE-LAB | lab(45.80, 50.40, -65.53) |
| CIE-LCH | lch(45.80, 82.67, 307.57°) |
| OKLab | oklab(55.45% 0.082 -0.1872) |
| OKLCH | oklch(55.45% 0.204 293.6) |
| XYZ | xyz(24.1682, 15.1186, 69.3411) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.93
Light Indigo
#6D5ACF
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.91
Bluish Purple
#703BE7
ΔE00 4.97
Purpleish Blue
#6140EF
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FDC #AEDC4F
analogous
#4F67DC #7D4FDC #C34FDC
triadic
#7D4FDC #DC7D4F #4FDC7D
tetradic
#7D4FDC #DC4F67 #AEDC4F #4FDCC3
square
#7D4FDC #DC4F67 #AEDC4F #4FDCC3
split-complementary
#7D4FDC #DCC34F #67DC4F
monochromatic
#441D93 #5B27C6 #7D4FDC #A382E6 #C8B5F0
Accessibility & contrast
On white
5.22
#7D4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7D4FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FDC
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FDC | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#63708E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d4fdc; /* rgb */ color: rgb(125, 79, 220); /* oklch */ color: oklch(55.4% 0.204 293.6);
Tailwind
colors: {
custom: {
50: '#a983e8',
500: '#7d4fdc',
950: '#000000',
},
}SCSS
$custom: #7d4fdc; $custom-light: #a983e8; $custom-dark: #000000;
JSON
{
"hex": "#7d4fdc",
"rgb": {
"r": 125,
"g": 79,
"b": 220
},
"hsl": {
"h": 259.574,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.55449,
"c": 0.20436,
"h": 293.6
},
"luminance": 0.15119
}Semantic roles & 50–950 ramp
primary
#7D4FDC
secondary
#CDDFA8
accent
#EA3EB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84