#7D4BB2#7D4BB2
#7D4BB2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.160 H 303.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4BB2 |
|---|---|
| RGB | rgb(125, 75, 178) |
| HSL | hsl(269, 41%, 50%) |
| HSV | hsv(269, 58%, 70%) |
| CMYK | cmyk(29.8%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.16, 41.68, -47.07) |
| CIE-LCH | lch(42.16, 62.87, 311.53°) |
| OKLab | oklab(51.91% 0.0887 -0.1329) |
| OKLCH | oklch(51.91% 0.16 303.7) |
| XYZ | xyz(19.0076, 12.6065, 43.5428) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.50
Purply
#983FB2
ΔE00 5.83
Deep Lavender
#8D5EB7
ΔE00 6.41
Darkorchid
#9932CC
ΔE00 6.82
Bluey Purple
#6241C7
ΔE00 6.98
Light Indigo
#6D5ACF
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4BB2 #80B24B
analogous
#4B4DB2 #7D4BB2 #B04BB2
triadic
#7D4BB2 #B27D4B #4BB27D
tetradic
#7D4BB2 #B24B4D #80B24B #4BB2B0
square
#7D4BB2 #B24B4D #80B24B #4BB2B0
split-complementary
#7D4BB2 #B2B04B #4DB24B
monochromatic
#41275C #5F3987 #7D4BB2 #9C75C5 #BBA0D7
Accessibility & contrast
On white
5.96
#7D4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#7D4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4BB2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4BB2 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#3463B0
Tritanopia (blue-blind)
#735F77
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7d4bb2; /* rgb */ color: rgb(125, 75, 178); /* oklch */ color: oklch(51.9% 0.160 303.7);
Tailwind
colors: {
custom: {
50: '#a67fca',
500: '#7d4bb2',
950: '#000000',
},
}SCSS
$custom: #7d4bb2; $custom-light: #a67fca; $custom-dark: #000000;
JSON
{
"hex": "#7d4bb2",
"rgb": {
"r": 125,
"g": 75,
"b": 178
},
"hsl": {
"h": 269.126,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.51909,
"c": 0.15984,
"h": 303.7
},
"luminance": 0.12606
}Semantic roles & 50–950 ramp
primary
#7D4BB2
secondary
#ADC495
accent
#D15796
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82