#7D4ABF#7D4ABF
#7D4ABF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.177 H 300.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4ABF |
|---|---|
| RGB | rgb(125, 74, 191) |
| HSL | hsl(266, 48%, 52%) |
| HSV | hsv(266, 61%, 75%) |
| CMYK | cmyk(34.6%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(42.79, 45.50, -53.68) |
| CIE-LCH | lch(42.79, 70.37, 310.29°) |
| OKLab | oklab(52.63% 0.0898 -0.1524) |
| OKLCH | oklch(52.63% 0.177 300.5) |
| XYZ | xyz(20.3079, 13.0190, 50.7231) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.33
Purply
#983FB2
ΔE00 6.58
Slate Blue
#6A5ACD
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4ABF #8CBF4A
analogous
#4A52BF #7D4ABF #B84ABF
triadic
#7D4ABF #BF7D4A #4ABF7D
tetradic
#7D4ABF #BF4A52 #8CBF4A #4ABFB8
square
#7D4ABF #BF4A52 #8CBF4A #4ABFB8
split-complementary
#7D4ABF #BFB84A #52BF4A
monochromatic
#432569 #603597 #7D4ABF #9D77CF #BEA4DF
Accessibility & contrast
On white
5.83
#7D4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7D4ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4ABF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4ABF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#6F637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7d4abf; /* rgb */ color: rgb(125, 74, 191); /* oklch */ color: oklch(52.6% 0.177 300.5);
Tailwind
colors: {
custom: {
50: '#a77fd3',
500: '#7d4abf',
950: '#000000',
},
}SCSS
$custom: #7d4abf; $custom-light: #a77fd3; $custom-dark: #000000;
JSON
{
"hex": "#7d4abf",
"rgb": {
"r": 125,
"g": 74,
"b": 191
},
"hsl": {
"h": 266.154,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.52634,
"c": 0.17683,
"h": 300.5
},
"luminance": 0.13019
}Semantic roles & 50–950 ramp
primary
#7D4ABF
secondary
#B6CC99
accent
#D7509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83