#7D4FD5#7D4FD5
#7D4FD5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.196 H 294.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FD5 |
|---|---|
| RGB | rgb(125, 79, 213) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 63%, 84%) |
| CMYK | cmyk(41.3%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(45.30, 48.54, -62.34) |
| CIE-LCH | lch(45.30, 79.00, 307.90°) |
| OKLab | oklab(54.93% 0.0826 -0.1778) |
| OKLCH | oklch(54.93% 0.196 294.9) |
| XYZ | xyz(23.2605, 14.7555, 64.5605) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.48
Light Indigo
#6D5ACF
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.23
Iris
#6258C4
ΔE00 6.06
Purpleish Blue
#6140EF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FD5 #A7D54F
analogous
#4F64D5 #7D4FD5 #C04FD5
triadic
#7D4FD5 #D57D4F #4FD57D
tetradic
#7D4FD5 #D54F64 #A7D54F #4FD5C0
square
#7D4FD5 #D54F64 #A7D54F #4FD5C0
split-complementary
#7D4FD5 #D5C04F #64D54F
monochromatic
#442189 #5D2CBA #7D4FD5 #A180E1 #C6B2ED
Accessibility & contrast
On white
5.31
#7D4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7D4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FD5
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FD5 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#666E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d4fd5; /* rgb */ color: rgb(125, 79, 213); /* oklch */ color: oklch(54.9% 0.196 294.9);
Tailwind
colors: {
custom: {
50: '#a983e3',
500: '#7d4fd5',
950: '#000000',
},
}SCSS
$custom: #7d4fd5; $custom-light: #a983e3; $custom-dark: #000000;
JSON
{
"hex": "#7d4fd5",
"rgb": {
"r": 125,
"g": 79,
"b": 213
},
"hsl": {
"h": 260.597,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.54931,
"c": 0.19608,
"h": 294.9
},
"luminance": 0.14756
}Semantic roles & 50–950 ramp
primary
#7D4FD5
secondary
#C8DBA5
accent
#E543AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84