#7E2BBF#7E2BBF
#7E2BBF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.215 H 304.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2BBF |
|---|---|
| RGB | rgb(126, 43, 191) |
| HSL | hsl(274, 63%, 46%) |
| HSV | hsv(274, 77%, 75%) |
| CMYK | cmyk(34%, 77.5%, 0%, 25.1%) |
| CIE-LAB | lab(37.71, 60.19, -61.91) |
| CIE-LCH | lch(37.71, 86.34, 314.19°) |
| OKLab | oklab(49.03% 0.1231 -0.1764) |
| OKLCH | oklch(49.03% 0.215 304.9) |
| XYZ | xyz(18.8699, 9.9251, 50.2017) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.22
Blueviolet
#8A2BE2
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 5.96
Purple Blue
#5D21D0
ΔE00 6.09
Burple
#6832E3
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2BBF #6CBF2B
analogous
#342BBF #7E2BBF #BF2BB6
triadic
#7E2BBF #BF7E2B #2BBF7E
tetradic
#7E2BBF #BF342B #6CBF2B #2BB6BF
square
#7E2BBF #BF342B #6CBF2B #2BB6BF
split-complementary
#7E2BBF #B6BF2B #2BBF34
monochromatic
#3C155B #5D208D #7E2BBF #9C50D8 #B882E3
Accessibility & contrast
On white
7.04
#7E2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7E2BBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2BBF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2BBF | 1.00 | 7.04 | 2.99 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#725174
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7e2bbf; /* rgb */ color: rgb(126, 43, 191); /* oklch */ color: oklch(49.0% 0.215 304.9);
Tailwind
colors: {
custom: {
50: '#a96ed3',
500: '#7e2bbf',
950: '#000000',
},
}SCSS
$custom: #7e2bbf; $custom-light: #a96ed3; $custom-dark: #000000;
JSON
{
"hex": "#7e2bbf",
"rgb": {
"r": 126,
"g": 43,
"b": 191
},
"hsl": {
"h": 273.649,
"s": 63.248,
"l": 45.882
},
"oklch": {
"l": 0.49028,
"c": 0.21508,
"h": 304.9
},
"luminance": 0.09925
}Semantic roles & 50–950 ramp
primary
#7E2BBF
secondary
#9ECC7A
accent
#E6428A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83