#7E4ABC#7E4ABC
#7E4ABC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.173 H 301.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4ABC |
|---|---|
| RGB | rgb(126, 74, 188) |
| HSL | hsl(267, 46%, 51%) |
| HSV | hsv(267, 61%, 74%) |
| CMYK | cmyk(33%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(42.71, 44.97, -52.05) |
| CIE-LCH | lch(42.71, 68.79, 310.83°) |
| OKLab | oklab(52.54% 0.0912 -0.1475) |
| OKLCH | oklch(52.54% 0.173 301.7) |
| XYZ | xyz(20.1279, 12.9640, 49.0091) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.88
Darkorchid
#9932CC
ΔE00 6.01
Bluey Purple
#6241C7
ΔE00 6.06
Purply
#983FB2
ΔE00 6.16
Light Indigo
#6D5ACF
ΔE00 6.73
Deep Lavender
#8D5EB7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4ABC #88BC4A
analogous
#4A4FBC #7E4ABC #B74ABC
triadic
#7E4ABC #BC7E4A #4ABC7E
tetradic
#7E4ABC #BC4A4F #88BC4A #4ABCB7
square
#7E4ABC #BC4A4F #88BC4A #4ABCB7
split-complementary
#7E4ABC #BCB74A #4FBC4A
monochromatic
#432666 #603693 #7E4ABC #9E77CD #BEA3DD
Accessibility & contrast
On white
5.85
#7E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7E4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4ABC
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4ABC | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#72627C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7e4abc; /* rgb */ color: rgb(126, 74, 188); /* oklch */ color: oklch(52.5% 0.173 301.7);
Tailwind
colors: {
custom: {
50: '#a77fd1',
500: '#7e4abc',
950: '#000000',
},
}SCSS
$custom: #7e4abc; $custom-light: #a77fd1; $custom-dark: #000000;
JSON
{
"hex": "#7e4abc",
"rgb": {
"r": 126,
"g": 74,
"b": 188
},
"hsl": {
"h": 267.368,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.52536,
"c": 0.17346,
"h": 301.7
},
"luminance": 0.12964
}Semantic roles & 50–950 ramp
primary
#7E4ABC
secondary
#B3CA98
accent
#D6529A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82