#7D4DB7#7D4DB7
#7D4DB7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.163 H 302.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4DB7 |
|---|---|
| RGB | rgb(125, 77, 183) |
| HSL | hsl(267, 42%, 51%) |
| HSV | hsv(267, 58%, 72%) |
| CMYK | cmyk(31.7%, 57.9%, 0%, 28.2%) |
| CIE-LAB | lab(42.89, 41.83, -48.84) |
| CIE-LCH | lch(42.89, 64.30, 310.58°) |
| OKLab | oklab(52.54% 0.0862 -0.1381) |
| OKLCH | oklch(52.54% 0.163 302) |
| XYZ | xyz(19.6566, 13.0866, 46.2810) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.81
Deep Lavender
#8D5EB7
ΔE00 6.09
Purply
#983FB2
ΔE00 6.29
Bluey Purple
#6241C7
ΔE00 6.67
Light Indigo
#6D5ACF
ΔE00 6.72
Darkorchid
#9932CC
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4DB7 #87B74D
analogous
#4D52B7 #7D4DB7 #B24DB7
triadic
#7D4DB7 #B77D4D #4DB77D
tetradic
#7D4DB7 #B74D52 #87B74D #4DB7B2
square
#7D4DB7 #B74D52 #87B74D #4DB7B2
split-complementary
#7D4DB7 #B7B24D #52B74D
monochromatic
#422862 #5F398E #7D4DB7 #9D79C9 #BDA4DA
Accessibility & contrast
On white
5.81
#7D4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#7D4DB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4DB7
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4DB7 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D65BA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#72627A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7d4db7; /* rgb */ color: rgb(125, 77, 183); /* oklch */ color: oklch(52.5% 0.163 302.0);
Tailwind
colors: {
custom: {
50: '#a681cd',
500: '#7d4db7',
950: '#000000',
},
}SCSS
$custom: #7d4db7; $custom-light: #a681cd; $custom-dark: #000000;
JSON
{
"hex": "#7d4db7",
"rgb": {
"r": 125,
"g": 77,
"b": 183
},
"hsl": {
"h": 267.17,
"s": 42.4,
"l": 50.98
},
"oklch": {
"l": 0.52543,
"c": 0.16283,
"h": 302
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#7D4DB7
secondary
#B2C798
accent
#D2569A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82