#7D4E9C#7D4E9C
#7D4E9C is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.128 H 310.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4E9C |
|---|---|
| RGB | rgb(125, 78, 156) |
| HSL | hsl(276, 33%, 46%) |
| HSV | hsv(276, 50%, 61%) |
| CMYK | cmyk(19.9%, 50%, 0%, 38.8%) |
| CIE-LAB | lab(41.55, 34.66, -34.98) |
| CIE-LCH | lch(41.55, 49.25, 314.74°) |
| OKLab | oklab(51.04% 0.0832 -0.0977) |
| OKLCH | oklch(51.04% 0.128 310.4) |
| XYZ | xyz(17.1815, 12.2094, 32.8976) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.30
Purply
#983FB2
ΔE00 6.65
Deep Lavender
#8D5EB7
ΔE00 6.78
Light Eggplant
#894585
ΔE00 6.89
Medium Purple
#9E43A2
ΔE00 7.12
Muted Purple
#805B87
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4E9C #6D9C4E
analogous
#564E9C #7D4E9C #9C4E94
triadic
#7D4E9C #9C7D4E #4E9C7D
tetradic
#7D4E9C #9C564E #6D9C4E #4E949C
square
#7D4E9C #9C564E #6D9C4E #4E949C
split-complementary
#7D4E9C #949C4E #4E9C56
monochromatic
#3C254A #5C3A73 #7D4E9C #9B70B7 #B799CC
Accessibility & contrast
On white
6.10
#7D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7D4E9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4E9C
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4E9C | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#795B6E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7d4e9c; /* rgb */ color: rgb(125, 78, 156); /* oklch */ color: oklch(51.0% 0.128 310.4);
Tailwind
colors: {
custom: {
50: '#a481b9',
500: '#7d4e9c',
950: '#000000',
},
}SCSS
$custom: #7d4e9c; $custom-light: #a481b9; $custom-dark: #000000;
JSON
{
"hex": "#7d4e9c",
"rgb": {
"r": 125,
"g": 78,
"b": 156
},
"hsl": {
"h": 276.154,
"s": 33.333,
"l": 45.882
},
"oklch": {
"l": 0.51044,
"c": 0.12826,
"h": 310.4
},
"luminance": 0.12209
}Semantic roles & 50–950 ramp
primary
#7D4E9C
secondary
#9EB88D
accent
#C95E89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80