#7E4BC1#7E4BC1
#7E4BC1 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.178 H 300.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BC1 |
|---|---|
| RGB | rgb(126, 75, 193) |
| HSL | hsl(266, 49%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(34.7%, 61.1%, 0%, 24.3%) |
| CIE-LAB | lab(43.24, 45.70, -54.11) |
| CIE-LCH | lch(43.24, 70.83, 310.18°) |
| OKLab | oklab(53.03% 0.0898 -0.1536) |
| OKLCH | oklch(53.03% 0.178 300.3) |
| XYZ | xyz(20.7436, 13.3179, 51.9195) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 5.84
Darkorchid
#9932CC
ΔE00 6.05
Light Indigo
#6D5ACF
ΔE00 6.09
Purpley
#8756E4
ΔE00 6.30
Slate Blue
#6A5ACD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BC1 #8EC14B
analogous
#4B53C1 #7E4BC1 #B94BC1
triadic
#7E4BC1 #C17E4B #4BC17E
tetradic
#7E4BC1 #C14B53 #8EC14B #4BC1B9
square
#7E4BC1 #C14B53 #8EC14B #4BC1B9
split-complementary
#7E4BC1 #C1B94B #53C14B
monochromatic
#44256C #61359A #7E4BC1 #9F79D1 #BFA6E0
Accessibility & contrast
On white
5.73
#7E4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#7E4BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BC1
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BC1 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#70647F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7e4bc1; /* rgb */ color: rgb(126, 75, 193); /* oklch */ color: oklch(53.0% 0.178 300.3);
Tailwind
colors: {
custom: {
50: '#a880d4',
500: '#7e4bc1',
950: '#000000',
},
}SCSS
$custom: #7e4bc1; $custom-light: #a880d4; $custom-dark: #000000;
JSON
{
"hex": "#7e4bc1",
"rgb": {
"r": 126,
"g": 75,
"b": 193
},
"hsl": {
"h": 265.932,
"s": 48.76,
"l": 52.549
},
"oklch": {
"l": 0.53027,
"c": 0.17794,
"h": 300.3
},
"luminance": 0.13318
}Semantic roles & 50–950 ramp
primary
#7E4BC1
secondary
#B7CE9A
accent
#D84F9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83