#7D4AB7#7D4AB7
#7D4AB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.167 H 302.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4AB7 |
|---|---|
| RGB | rgb(125, 74, 183) |
| HSL | hsl(268, 43%, 50%) |
| HSV | hsv(268, 60%, 72%) |
| CMYK | cmyk(31.7%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(42.27, 43.48, -49.83) |
| CIE-LCH | lch(42.27, 66.14, 311.11°) |
| OKLab | oklab(52.09% 0.09 -0.1411) |
| OKLCH | oklch(52.09% 0.167 302.5) |
| XYZ | xyz(19.4515, 12.6764, 46.2126) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.24
Purply
#983FB2
ΔE00 6.00
Bluey Purple
#6241C7
ΔE00 6.33
Darkorchid
#9932CC
ΔE00 6.36
Deep Lavender
#8D5EB7
ΔE00 6.74
Light Indigo
#6D5ACF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4AB7 #84B74A
analogous
#4A4EB7 #7D4AB7 #B34AB7
triadic
#7D4AB7 #B77D4A #4AB77D
tetradic
#7D4AB7 #B74A4E #84B74A #4AB7B3
square
#7D4AB7 #B74A4E #84B74A #4AB7B3
split-complementary
#7D4AB7 #B7B34A #4EB74A
monochromatic
#412660 #5F388C #7D4AB7 #9C76C8 #BCA2DA
Accessibility & contrast
On white
5.94
#7D4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7D4AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4AB7
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4AB7 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#2D63B5
Tritanopia (blue-blind)
#726079
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7d4ab7; /* rgb */ color: rgb(125, 74, 183); /* oklch */ color: oklch(52.1% 0.167 302.5);
Tailwind
colors: {
custom: {
50: '#a67fcd',
500: '#7d4ab7',
950: '#000000',
},
}SCSS
$custom: #7d4ab7; $custom-light: #a67fcd; $custom-dark: #000000;
JSON
{
"hex": "#7d4ab7",
"rgb": {
"r": 125,
"g": 74,
"b": 183
},
"hsl": {
"h": 268.073,
"s": 43.083,
"l": 50.392
},
"oklch": {
"l": 0.52088,
"c": 0.16733,
"h": 302.5
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#7D4AB7
secondary
#B0C796
accent
#D35598
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82