#7D4CD3#7D4CD3
#7D4CD3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.198 H 295.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD3 |
|---|---|
| RGB | rgb(125, 76, 211) |
| HSL | hsl(262, 61%, 56%) |
| HSV | hsv(262, 64%, 83%) |
| CMYK | cmyk(40.8%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(44.56, 49.61, -62.38) |
| CIE-LCH | lch(44.56, 79.70, 308.49°) |
| OKLab | oklab(54.35% 0.0861 -0.1779) |
| OKLCH | oklch(54.35% 0.198 295.8) |
| XYZ | xyz(22.7967, 14.2315, 63.1613) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.17
Bluish Purple
#703BE7
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.27
Bluey Purple
#6241C7
ΔE00 5.66
Blueviolet
#8A2BE2
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD3 #A2D34C
analogous
#4C5FD3 #7D4CD3 #C14CD3
triadic
#7D4CD3 #D37D4C #4CD37D
tetradic
#7D4CD3 #D34C5F #A2D34C #4CD3C1
square
#7D4CD3 #D34C5F #A2D34C #4CD3C1
split-complementary
#7D4CD3 #D3C14C #5FD34C
monochromatic
#452084 #5E2DB5 #7D4CD3 #A17DDF #C4AEEB
Accessibility & contrast
On white
5.46
#7D4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7D4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD3
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD3 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#676B89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7d4cd3; /* rgb */ color: rgb(125, 76, 211); /* oklch */ color: oklch(54.4% 0.198 295.8);
Tailwind
colors: {
custom: {
50: '#a981e1',
500: '#7d4cd3',
950: '#000000',
},
}SCSS
$custom: #7d4cd3; $custom-light: #a981e1; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd3",
"rgb": {
"r": 125,
"g": 76,
"b": 211
},
"hsl": {
"h": 261.778,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.54354,
"c": 0.19766,
"h": 295.8
},
"luminance": 0.14232
}Semantic roles & 50–950 ramp
primary
#7D4CD3
secondary
#C5D9A2
accent
#E444AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83