#7D4DC4#7D4DC4
#7D4DC4 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 298.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4DC4 |
|---|---|
| RGB | rgb(125, 77, 196) |
| HSL | hsl(264, 50%, 54%) |
| HSV | hsv(264, 61%, 77%) |
| CMYK | cmyk(36.2%, 60.7%, 0%, 23.1%) |
| CIE-LAB | lab(43.73, 45.16, -55.07) |
| CIE-LCH | lch(43.73, 71.22, 309.35°) |
| OKLab | oklab(53.42% 0.086 -0.1564) |
| OKLCH | oklch(53.42% 0.179 298.8) |
| XYZ | xyz(21.0727, 13.6530, 53.7389) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 5.78
Iris
#6258C4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4DC4 #94C44D
analogous
#4D58C4 #7D4DC4 #B94DC4
triadic
#7D4DC4 #C47D4D #4DC47D
tetradic
#7D4DC4 #C44D58 #94C44D #4DC4B9
square
#7D4DC4 #C44D58 #94C44D #4DC4B9
split-complementary
#7D4DC4 #C4B94D #58C44D
monochromatic
#442571 #60359F #7D4DC4 #9F7BD3 #C0A9E2
Accessibility & contrast
On white
5.63
#7D4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#7D4DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4DC4
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4DC4 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1F66C1
Tritanopia (blue-blind)
#6D6781
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7d4dc4; /* rgb */ color: rgb(125, 77, 196); /* oklch */ color: oklch(53.4% 0.179 298.8);
Tailwind
colors: {
custom: {
50: '#a781d7',
500: '#7d4dc4',
950: '#000000',
},
}SCSS
$custom: #7d4dc4; $custom-light: #a781d7; $custom-dark: #000000;
JSON
{
"hex": "#7d4dc4",
"rgb": {
"r": 125,
"g": 77,
"b": 196
},
"hsl": {
"h": 264.202,
"s": 50.211,
"l": 53.529
},
"oklch": {
"l": 0.53423,
"c": 0.17851,
"h": 298.8
},
"luminance": 0.13653
}Semantic roles & 50–950 ramp
primary
#7D4DC4
secondary
#BBD09D
accent
#DA4EA1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83