#7D4FC2#7D4FC2
#7D4FC2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.173 H 298.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FC2 |
|---|---|
| RGB | rgb(125, 79, 194) |
| HSL | hsl(264, 49%, 54%) |
| HSV | hsv(264, 59%, 76%) |
| CMYK | cmyk(35.6%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.01, 43.54, -53.46) |
| CIE-LCH | lch(44.01, 68.95, 309.16°) |
| OKLab | oklab(53.59% 0.0836 -0.1517) |
| OKLCH | oklch(53.59% 0.173 298.9) |
| XYZ | xyz(20.9886, 13.8468, 52.5954) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.52
Purpley
#8756E4
ΔE00 5.72
Bluey Purple
#6241C7
ΔE00 6.16
Iris
#6258C4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FC2 #94C24F
analogous
#4F5AC2 #7D4FC2 #B64FC2
triadic
#7D4FC2 #C27D4F #4FC27D
tetradic
#7D4FC2 #C24F5A #94C24F #4FC2B6
square
#7D4FC2 #C24F5A #94C24F #4FC2B6
split-complementary
#7D4FC2 #C2B64F #5AC24F
monochromatic
#442770 #60379D #7D4FC2 #9F7CD2 #C0AAE2
Accessibility & contrast
On white
5.57
#7D4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7D4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FC2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FC2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#6E6781
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7d4fc2; /* rgb */ color: rgb(125, 79, 194); /* oklch */ color: oklch(53.6% 0.173 298.9);
Tailwind
colors: {
custom: {
50: '#a782d5',
500: '#7d4fc2',
950: '#000000',
},
}SCSS
$custom: #7d4fc2; $custom-light: #a782d5; $custom-dark: #000000;
JSON
{
"hex": "#7d4fc2",
"rgb": {
"r": 125,
"g": 79,
"b": 194
},
"hsl": {
"h": 264,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.53587,
"c": 0.17323,
"h": 298.9
},
"luminance": 0.13847
}Semantic roles & 50–950 ramp
primary
#7D4FC2
secondary
#BBCF9E
accent
#D850A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83