#7E3ABC#7E3ABC
#7E3ABC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.195 H 304.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ABC |
|---|---|
| RGB | rgb(126, 58, 188) |
| HSL | hsl(271, 53%, 48%) |
| HSV | hsv(271, 69%, 74%) |
| CMYK | cmyk(33%, 69.1%, 0%, 26.3%) |
| CIE-LAB | lab(39.74, 53.10, -56.85) |
| CIE-LCH | lch(39.74, 77.79, 313.04°) |
| OKLab | oklab(50.39% 0.1095 -0.1616) |
| OKLCH | oklch(50.39% 0.195 304.1) |
| XYZ | xyz(19.1923, 11.0926, 48.6972) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.32
Bluey Purple
#6241C7
ΔE00 5.63
Darkviolet
#9400D3
ΔE00 5.77
Purply
#983FB2
ΔE00 6.16
Royal Purple
#7851A9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ABC #78BC3A
analogous
#3D3ABC #7E3ABC #BC3AB9
triadic
#7E3ABC #BC7E3A #3ABC7E
tetradic
#7E3ABC #BC3D3A #78BC3A #3AB9BC
square
#7E3ABC #BC3D3A #78BC3A #3AB9BC
split-complementary
#7E3ABC #B9BC3A #3ABC3D
monochromatic
#3F1D5E #5F2C8D #7E3ABC #9C64CF #BA93DE
Accessibility & contrast
On white
6.52
#7E3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7E3ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ABC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ABC | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#725877
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7e3abc; /* rgb */ color: rgb(126, 58, 188); /* oklch */ color: oklch(50.4% 0.195 304.1);
Tailwind
colors: {
custom: {
50: '#a875d1',
500: '#7e3abc',
950: '#000000',
},
}SCSS
$custom: #7e3abc; $custom-light: #a875d1; $custom-dark: #000000;
JSON
{
"hex": "#7e3abc",
"rgb": {
"r": 126,
"g": 58,
"b": 188
},
"hsl": {
"h": 271.385,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.50392,
"c": 0.1952,
"h": 304.1
},
"luminance": 0.11093
}Semantic roles & 50–950 ramp
primary
#7E3ABC
secondary
#A7C989
accent
#DC4C91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82