#7E4BC0#7E4BC0
#7E4BC0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.177 H 300.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BC0 |
|---|---|
| RGB | rgb(126, 75, 192) |
| HSL | hsl(266, 48%, 52%) |
| HSV | hsv(266, 61%, 75%) |
| CMYK | cmyk(34.4%, 60.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.17, 45.44, -53.64) |
| CIE-LCH | lch(43.17, 70.30, 310.27°) |
| OKLab | oklab(52.96% 0.0899 -0.1522) |
| OKLCH | oklch(52.96% 0.177 300.6) |
| XYZ | xyz(20.6324, 13.2734, 51.3340) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 5.89
Darkorchid
#9932CC
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.18
Purpley
#8756E4
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BC0 #8DC04B
analogous
#4B53C0 #7E4BC0 #B94BC0
triadic
#7E4BC0 #C07E4B #4BC07E
tetradic
#7E4BC0 #C04B53 #8DC04B #4BC0B9
square
#7E4BC0 #C04B53 #8DC04B #4BC0B9
split-complementary
#7E4BC0 #C0B94B #53C04B
monochromatic
#44256B #613598 #7E4BC0 #9E78D0 #BFA6E0
Accessibility & contrast
On white
5.75
#7E4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7E4BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BC0
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BC0 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#2365BD
Tritanopia (blue-blind)
#70647E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7e4bc0; /* rgb */ color: rgb(126, 75, 192); /* oklch */ color: oklch(53.0% 0.177 300.6);
Tailwind
colors: {
custom: {
50: '#a880d4',
500: '#7e4bc0',
950: '#000000',
},
}SCSS
$custom: #7e4bc0; $custom-light: #a880d4; $custom-dark: #000000;
JSON
{
"hex": "#7e4bc0",
"rgb": {
"r": 126,
"g": 75,
"b": 192
},
"hsl": {
"h": 266.154,
"s": 48.148,
"l": 52.353
},
"oklch": {
"l": 0.52957,
"c": 0.17676,
"h": 300.6
},
"luminance": 0.13274
}Semantic roles & 50–950 ramp
primary
#7E4BC0
secondary
#B7CD9A
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83