#7D4FD2#7D4FD2
#7D4FD2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.193 H 295.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FD2 |
|---|---|
| RGB | rgb(125, 79, 210) |
| HSL | hsl(261, 59%, 57%) |
| HSV | hsv(261, 62%, 82%) |
| CMYK | cmyk(40.5%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(45.09, 47.74, -60.96) |
| CIE-LCH | lch(45.09, 77.43, 308.07°) |
| OKLab | oklab(54.71% 0.0829 -0.1738) |
| OKLCH | oklch(54.71% 0.193 295.5) |
| XYZ | xyz(22.8832, 14.6046, 62.5736) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.77
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.41
Iris
#6258C4
ΔE00 5.99
Bluey Purple
#6241C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FD2 #A4D24F
analogous
#4F63D2 #7D4FD2 #BF4FD2
triadic
#7D4FD2 #D27D4F #4FD27D
tetradic
#7D4FD2 #D24F63 #A4D24F #4FD2BF
square
#7D4FD2 #D24F63 #A4D24F #4FD2BF
split-complementary
#7D4FD2 #D2BF4F #63D24F
monochromatic
#452285 #5E2EB5 #7D4FD2 #A180DE #C5B0EB
Accessibility & contrast
On white
5.36
#7D4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7D4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FD2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FD2 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#676D89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d4fd2; /* rgb */ color: rgb(125, 79, 210); /* oklch */ color: oklch(54.7% 0.193 295.5);
Tailwind
colors: {
custom: {
50: '#a883e1',
500: '#7d4fd2',
950: '#000000',
},
}SCSS
$custom: #7d4fd2; $custom-light: #a883e1; $custom-dark: #000000;
JSON
{
"hex": "#7d4fd2",
"rgb": {
"r": 125,
"g": 79,
"b": 210
},
"hsl": {
"h": 261.069,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.54712,
"c": 0.19251,
"h": 295.5
},
"luminance": 0.14605
}Semantic roles & 50–950 ramp
primary
#7D4FD2
secondary
#C6D9A4
accent
#E245AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83