#7E4ABB#7E4ABB
#7E4ABB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.172 H 302.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4ABB |
|---|---|
| RGB | rgb(126, 74, 187) |
| HSL | hsl(268, 45%, 51%) |
| HSV | hsv(268, 60%, 73%) |
| CMYK | cmyk(32.6%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.64, 44.72, -51.57) |
| CIE-LCH | lch(42.64, 68.26, 310.93°) |
| OKLab | oklab(52.47% 0.0912 -0.1461) |
| OKLCH | oklch(52.47% 0.172 302) |
| XYZ | xyz(20.0205, 12.9210, 48.4433) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.76
Darkorchid
#9932CC
ΔE00 6.05
Purply
#983FB2
ΔE00 6.09
Bluey Purple
#6241C7
ΔE00 6.14
Deep Lavender
#8D5EB7
ΔE00 6.76
Light Indigo
#6D5ACF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4ABB #87BB4A
analogous
#4A4EBB #7E4ABB #B74ABB
triadic
#7E4ABB #BB7E4A #4ABB7E
tetradic
#7E4ABB #BB4A4E #87BB4A #4ABBB7
square
#7E4ABB #BB4A4E #87BB4A #4ABBB7
split-complementary
#7E4ABB #BBB74A #4EBB4A
monochromatic
#432665 #603791 #7E4ABB #9E76CC #BDA3DC
Accessibility & contrast
On white
5.86
#7E4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7E4ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4ABB
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4ABB | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#72617B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7e4abb; /* rgb */ color: rgb(126, 74, 187); /* oklch */ color: oklch(52.5% 0.172 302.0);
Tailwind
colors: {
custom: {
50: '#a77fd0',
500: '#7e4abb',
950: '#000000',
},
}SCSS
$custom: #7e4abb; $custom-light: #a77fd0; $custom-dark: #000000;
JSON
{
"hex": "#7e4abb",
"rgb": {
"r": 126,
"g": 74,
"b": 187
},
"hsl": {
"h": 267.611,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.52468,
"c": 0.17228,
"h": 302
},
"luminance": 0.12921
}Semantic roles & 50–950 ramp
primary
#7E4ABB
secondary
#B2C997
accent
#D55399
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82