#7D4CD2#7D4CD2
#7D4CD2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.196 H 296.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD2 |
|---|---|
| RGB | rgb(125, 76, 210) |
| HSL | hsl(262, 60%, 56%) |
| HSV | hsv(262, 64%, 82%) |
| CMYK | cmyk(40.5%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(44.49, 49.35, -61.92) |
| CIE-LCH | lch(44.49, 79.18, 308.55°) |
| OKLab | oklab(54.28% 0.0862 -0.1766) |
| OKLCH | oklch(54.28% 0.196 296) |
| XYZ | xyz(22.6717, 14.1815, 62.5031) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.26
Bluish Purple
#703BE7
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD2 #A1D24C
analogous
#4C5ED2 #7D4CD2 #C04CD2
triadic
#7D4CD2 #D27D4C #4CD27D
tetradic
#7D4CD2 #D24C5E #A1D24C #4CD2C0
square
#7D4CD2 #D24C5E #A1D24C #4CD2C0
split-complementary
#7D4CD2 #D2C04C #5ED24C
monochromatic
#452183 #5E2DB4 #7D4CD2 #A17DDE #C4AEEB
Accessibility & contrast
On white
5.47
#7D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7D4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD2 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#676B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7d4cd2; /* rgb */ color: rgb(125, 76, 210); /* oklch */ color: oklch(54.3% 0.196 296.0);
Tailwind
colors: {
custom: {
50: '#a981e1',
500: '#7d4cd2',
950: '#000000',
},
}SCSS
$custom: #7d4cd2; $custom-light: #a981e1; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd2",
"rgb": {
"r": 125,
"g": 76,
"b": 210
},
"hsl": {
"h": 261.94,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.54281,
"c": 0.19649,
"h": 296
},
"luminance": 0.14182
}Semantic roles & 50–950 ramp
primary
#7D4CD2
secondary
#C4D9A1
accent
#E345A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83