#7E3ABB#7E3ABB
#7E3ABB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.194 H 304.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3ABB |
|---|---|
| RGB | rgb(126, 58, 187) |
| HSL | hsl(272, 53%, 48%) |
| HSV | hsv(272, 69%, 73%) |
| CMYK | cmyk(32.6%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(39.66, 52.86, -56.38) |
| CIE-LCH | lch(39.66, 77.28, 313.15°) |
| OKLab | oklab(50.32% 0.1096 -0.1602) |
| OKLCH | oklch(50.32% 0.194 304.4) |
| XYZ | xyz(19.0849, 11.0497, 48.1314) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.93
Blueviolet
#8A2BE2
ΔE00 5.46
Bluey Purple
#6241C7
ΔE00 5.72
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 6.09
Royal Purple
#7851A9
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3ABB #77BB3A
analogous
#3D3ABB #7E3ABB #BB3AB7
triadic
#7E3ABB #BB7E3A #3ABB7E
tetradic
#7E3ABB #BB3D3A #77BB3A #3AB7BB
square
#7E3ABB #BB3D3A #77BB3A #3AB7BB
split-complementary
#7E3ABB #B7BB3A #3ABB3D
monochromatic
#3F1D5E #5F2C8C #7E3ABB #9C63CF #BA92DD
Accessibility & contrast
On white
6.54
#7E3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#7E3ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3ABB
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3ABB | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#735776
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7e3abb; /* rgb */ color: rgb(126, 58, 187); /* oklch */ color: oklch(50.3% 0.194 304.4);
Tailwind
colors: {
custom: {
50: '#a875d0',
500: '#7e3abb',
950: '#000000',
},
}SCSS
$custom: #7e3abb; $custom-light: #a875d0; $custom-dark: #000000;
JSON
{
"hex": "#7e3abb",
"rgb": {
"r": 126,
"g": 58,
"b": 187
},
"hsl": {
"h": 271.628,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.50318,
"c": 0.19413,
"h": 304.4
},
"luminance": 0.1105
}Semantic roles & 50–950 ramp
primary
#7E3ABB
secondary
#A7C888
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82