#7D4FD4#7D4FD4
#7D4FD4 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.195 H 295.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FD4 |
|---|---|
| RGB | rgb(125, 79, 212) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 63%, 83%) |
| CMYK | cmyk(41%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(45.23, 48.27, -61.88) |
| CIE-LCH | lch(45.23, 78.48, 307.96°) |
| OKLab | oklab(54.86% 0.0827 -0.1765) |
| OKLCH | oklch(54.86% 0.195 295.1) |
| XYZ | xyz(23.1339, 14.7049, 63.8941) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.57
Light Indigo
#6D5ACF
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.76
Bluish Purple
#703BE7
ΔE00 5.28
Iris
#6258C4
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FD4 #A6D44F
analogous
#4F64D4 #7D4FD4 #C04FD4
triadic
#7D4FD4 #D47D4F #4FD47D
tetradic
#7D4FD4 #D44F64 #A6D44F #4FD4C0
square
#7D4FD4 #D44F64 #A6D44F #4FD4C0
split-complementary
#7D4FD4 #D4C04F #64D44F
monochromatic
#452187 #5D2DB9 #7D4FD4 #A180E0 #C6B1EC
Accessibility & contrast
On white
5.33
#7D4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7D4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FD4
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FD4 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#666D8A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d4fd4; /* rgb */ color: rgb(125, 79, 212); /* oklch */ color: oklch(54.9% 0.195 295.1);
Tailwind
colors: {
custom: {
50: '#a983e2',
500: '#7d4fd4',
950: '#000000',
},
}SCSS
$custom: #7d4fd4; $custom-light: #a983e2; $custom-dark: #000000;
JSON
{
"hex": "#7d4fd4",
"rgb": {
"r": 125,
"g": 79,
"b": 212
},
"hsl": {
"h": 260.752,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.54857,
"c": 0.19489,
"h": 295.1
},
"luminance": 0.14705
}Semantic roles & 50–950 ramp
primary
#7D4FD4
secondary
#C8DAA4
accent
#E444AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83