#7E2ABF#7E2ABF
#7E2ABF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.216 H 305.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2ABF |
|---|---|
| RGB | rgb(126, 42, 191) |
| HSL | hsl(274, 64%, 46%) |
| HSV | hsv(274, 78%, 75%) |
| CMYK | cmyk(34%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.58, 60.56, -62.12) |
| CIE-LCH | lch(37.58, 86.76, 314.27°) |
| OKLab | oklab(48.94% 0.1239 -0.177) |
| OKLCH | oklch(48.94% 0.216 305) |
| XYZ | xyz(18.8340, 9.8532, 50.1898) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.17
Blueviolet
#8A2BE2
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 5.58
Purple (survey)
#7E1E9C
ΔE00 5.90
Purple Blue
#5D21D0
ΔE00 6.04
Burple
#6832E3
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2ABF #6BBF2A
analogous
#342ABF #7E2ABF #BF2AB5
triadic
#7E2ABF #BF7E2A #2ABF7E
tetradic
#7E2ABF #BF342A #6BBF2A #2AB5BF
square
#7E2ABF #BF342A #6BBF2A #2AB5BF
split-complementary
#7E2ABF #B5BF2A #2ABF34
monochromatic
#3C145B #5D1F8D #7E2ABF #9C4ED8 #B880E3
Accessibility & contrast
On white
7.07
#7E2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#7E2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2ABF
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2ABF | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#725174
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7e2abf; /* rgb */ color: rgb(126, 42, 191); /* oklch */ color: oklch(48.9% 0.216 305.0);
Tailwind
colors: {
custom: {
50: '#a96dd3',
500: '#7e2abf',
950: '#000000',
},
}SCSS
$custom: #7e2abf; $custom-light: #a96dd3; $custom-dark: #000000;
JSON
{
"hex": "#7e2abf",
"rgb": {
"r": 126,
"g": 42,
"b": 191
},
"hsl": {
"h": 273.826,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.48938,
"c": 0.21605,
"h": 305
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#7E2ABF
secondary
#9DCC79
accent
#E74189
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83