#7D4FD1#7D4FD1
#7D4FD1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.191 H 295.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FD1 |
|---|---|
| RGB | rgb(125, 79, 209) |
| HSL | hsl(261, 59%, 56%) |
| HSV | hsv(261, 62%, 82%) |
| CMYK | cmyk(40.2%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(45.02, 47.48, -60.49) |
| CIE-LCH | lch(45.02, 76.90, 308.12°) |
| OKLab | oklab(54.64% 0.0829 -0.1724) |
| OKLCH | oklch(54.64% 0.191 295.7) |
| XYZ | xyz(22.7590, 14.5549, 61.9195) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 5.48
Iris
#6258C4
ΔE00 5.97
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FD1 #A3D14F
analogous
#4F62D1 #7D4FD1 #BE4FD1
triadic
#7D4FD1 #D17D4F #4FD17D
tetradic
#7D4FD1 #D14F62 #A3D14F #4FD1BE
square
#7D4FD1 #D14F62 #A3D14F #4FD1BE
split-complementary
#7D4FD1 #D1BE4F #62D14F
monochromatic
#452283 #5E2FB4 #7D4FD1 #A180DE #C5B0EA
Accessibility & contrast
On white
5.37
#7D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7D4FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FD1
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FD1 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0069CE
Tritanopia (blue-blind)
#686C89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d4fd1; /* rgb */ color: rgb(125, 79, 209); /* oklch */ color: oklch(54.6% 0.191 295.7);
Tailwind
colors: {
custom: {
50: '#a883e0',
500: '#7d4fd1',
950: '#000000',
},
}SCSS
$custom: #7d4fd1; $custom-light: #a883e0; $custom-dark: #000000;
JSON
{
"hex": "#7d4fd1",
"rgb": {
"r": 125,
"g": 79,
"b": 209
},
"hsl": {
"h": 261.231,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.5464,
"c": 0.19131,
"h": 295.7
},
"luminance": 0.14555
}Semantic roles & 50–950 ramp
primary
#7D4FD1
secondary
#C6D9A3
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83