#7D4BB6#7D4BB6
#7D4BB6 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.165 H 302.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4BB6 |
|---|---|
| RGB | rgb(125, 75, 182) |
| HSL | hsl(268, 42%, 50%) |
| HSV | hsv(268, 59%, 71%) |
| CMYK | cmyk(31.3%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(42.41, 42.68, -49.02) |
| CIE-LCH | lch(42.41, 65.00, 311.05°) |
| OKLab | oklab(52.17% 0.0888 -0.1387) |
| OKLCH | oklch(52.17% 0.165 302.6) |
| XYZ | xyz(19.4151, 12.7695, 45.6888) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.96
Purply
#983FB2
ΔE00 6.03
Deep Lavender
#8D5EB7
ΔE00 6.49
Bluey Purple
#6241C7
ΔE00 6.53
Darkorchid
#9932CC
ΔE00 6.56
Light Indigo
#6D5ACF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4BB6 #84B64B
analogous
#4B4FB6 #7D4BB6 #B24BB6
triadic
#7D4BB6 #B67D4B #4BB67D
tetradic
#7D4BB6 #B64B4F #84B64B #4BB6B2
square
#7D4BB6 #B64B4F #84B64B #4BB6B2
split-complementary
#7D4BB6 #B6B24B #4FB64B
monochromatic
#412760 #5F388B #7D4BB6 #9C77C8 #BCA2D9
Accessibility & contrast
On white
5.91
#7D4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7D4BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4BB6
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4BB6 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#726179
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7d4bb6; /* rgb */ color: rgb(125, 75, 182); /* oklch */ color: oklch(52.2% 0.165 302.6);
Tailwind
colors: {
custom: {
50: '#a67fcc',
500: '#7d4bb6',
950: '#000000',
},
}SCSS
$custom: #7d4bb6; $custom-light: #a67fcc; $custom-dark: #000000;
JSON
{
"hex": "#7d4bb6",
"rgb": {
"r": 125,
"g": 75,
"b": 182
},
"hsl": {
"h": 268.037,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.52172,
"c": 0.16464,
"h": 302.6
},
"luminance": 0.1277
}Semantic roles & 50–950 ramp
primary
#7D4BB6
secondary
#B0C697
accent
#D25698
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82