#7D4BB1#7D4BB1
#7D4BB1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.159 H 304.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4BB1 |
|---|---|
| RGB | rgb(125, 75, 177) |
| HSL | hsl(269, 40%, 49%) |
| HSV | hsv(269, 58%, 69%) |
| CMYK | cmyk(29.4%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(42.10, 41.44, -46.58) |
| CIE-LCH | lch(42.10, 62.34, 311.66°) |
| OKLab | oklab(51.84% 0.0887 -0.1315) |
| OKLCH | oklch(51.84% 0.159 304) |
| XYZ | xyz(18.9076, 12.5665, 43.0159) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.40
Purply
#983FB2
ΔE00 5.79
Deep Lavender
#8D5EB7
ΔE00 6.40
Darkorchid
#9932CC
ΔE00 6.89
Bluey Purple
#6241C7
ΔE00 7.10
Light Indigo
#6D5ACF
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4BB1 #7FB14B
analogous
#4B4CB1 #7D4BB1 #B04BB1
triadic
#7D4BB1 #B17D4B #4BB17D
tetradic
#7D4BB1 #B14B4C #7FB14B #4BB1B0
square
#7D4BB1 #B14B4C #7FB14B #4BB1B0
split-complementary
#7D4BB1 #B1B04B #4CB14B
monochromatic
#40275B #5F3986 #7D4BB1 #9C75C4 #BBA0D7
Accessibility & contrast
On white
5.98
#7D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#7D4BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4BB1
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4BB1 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2162B4
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#745F77
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7d4bb1; /* rgb */ color: rgb(125, 75, 177); /* oklch */ color: oklch(51.8% 0.159 304.0);
Tailwind
colors: {
custom: {
50: '#a67fc9',
500: '#7d4bb1',
950: '#000000',
},
}SCSS
$custom: #7d4bb1; $custom-light: #a67fc9; $custom-dark: #000000;
JSON
{
"hex": "#7d4bb1",
"rgb": {
"r": 125,
"g": 75,
"b": 177
},
"hsl": {
"h": 269.412,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.51844,
"c": 0.15864,
"h": 304
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#7D4BB1
secondary
#ACC394
accent
#D05795
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82