#7E2EBF#7E2EBF
#7E2EBF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.212 H 304.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2EBF |
|---|---|
| RGB | rgb(126, 46, 191) |
| HSL | hsl(273, 61%, 46%) |
| HSV | hsv(273, 76%, 75%) |
| CMYK | cmyk(34%, 75.9%, 0%, 25.1%) |
| CIE-LAB | lab(38.11, 59.02, -61.25) |
| CIE-LCH | lch(38.11, 85.06, 313.94°) |
| OKLab | oklab(49.31% 0.1206 -0.1744) |
| OKLCH | oklch(49.31% 0.212 304.6) |
| XYZ | xyz(18.9830, 10.1513, 50.2394) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.39
Blueviolet
#8A2BE2
ΔE00 4.97
Darkorchid
#9932CC
ΔE00 5.29
Burple
#6832E3
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.17
Bluey Purple
#6241C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2EBF #6FBF2E
analogous
#352EBF #7E2EBF #BF2EB8
triadic
#7E2EBF #BF7E2E #2EBF7E
tetradic
#7E2EBF #BF352E #6FBF2E #2EB8BF
square
#7E2EBF #BF352E #6FBF2E #2EB8BF
split-complementary
#7E2EBF #B8BF2E #2EBF35
monochromatic
#3D165C #5D228E #7E2EBF #9C54D6 #B886E2
Accessibility & contrast
On white
6.93
#7E2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7E2EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2EBF
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2EBF | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#725375
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7e2ebf; /* rgb */ color: rgb(126, 46, 191); /* oklch */ color: oklch(49.3% 0.212 304.6);
Tailwind
colors: {
custom: {
50: '#a96fd3',
500: '#7e2ebf',
950: '#000000',
},
}SCSS
$custom: #7e2ebf; $custom-light: #a96fd3; $custom-dark: #000000;
JSON
{
"hex": "#7e2ebf",
"rgb": {
"r": 126,
"g": 46,
"b": 191
},
"hsl": {
"h": 273.103,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.49313,
"c": 0.21204,
"h": 304.6
},
"luminance": 0.10151
}Semantic roles & 50–950 ramp
primary
#7E2EBF
secondary
#A0CB7E
accent
#E4448C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83