#7D4FC4#7D4FC4
#7D4FC4 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.176 H 298.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FC4 |
|---|---|
| RGB | rgb(125, 79, 196) |
| HSL | hsl(264, 50%, 54%) |
| HSV | hsv(264, 60%, 77%) |
| CMYK | cmyk(36.2%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(44.14, 44.06, -54.41) |
| CIE-LCH | lch(44.14, 70.01, 309.00°) |
| OKLab | oklab(53.72% 0.0836 -0.1545) |
| OKLCH | oklch(53.72% 0.176 298.4) |
| XYZ | xyz(21.2148, 13.9372, 53.7863) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.36
Purpley
#8756E4
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 6.08
Iris
#6258C4
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FC4 #96C44F
analogous
#4F5CC4 #7D4FC4 #B84FC4
triadic
#7D4FC4 #C47D4F #4FC47D
tetradic
#7D4FC4 #C44F5C #96C44F #4FC4B8
square
#7D4FC4 #C44F5C #96C44F #4FC4B8
split-complementary
#7D4FC4 #C4B84F #5CC44F
monochromatic
#442672 #6036A0 #7D4FC4 #9F7DD3 #C1ABE3
Accessibility & contrast
On white
5.54
#7D4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7D4FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FC4
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FC4 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0168C8
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#6D6882
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7d4fc4; /* rgb */ color: rgb(125, 79, 196); /* oklch */ color: oklch(53.7% 0.176 298.4);
Tailwind
colors: {
custom: {
50: '#a782d7',
500: '#7d4fc4',
950: '#000000',
},
}SCSS
$custom: #7d4fc4; $custom-light: #a782d7; $custom-dark: #000000;
JSON
{
"hex": "#7d4fc4",
"rgb": {
"r": 125,
"g": 79,
"b": 196
},
"hsl": {
"h": 263.59,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.53724,
"c": 0.17566,
"h": 298.4
},
"luminance": 0.13937
}Semantic roles & 50–950 ramp
primary
#7D4FC4
secondary
#BDD09E
accent
#D94EA3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83