#7E2BC9#7E2BC9
#7E2BC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.225 H 302.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2BC9 |
|---|---|
| RGB | rgb(126, 43, 201) |
| HSL | hsl(272, 65%, 48%) |
| HSV | hsv(272, 79%, 79%) |
| CMYK | cmyk(37.3%, 78.6%, 0%, 21.2%) |
| CIE-LAB | lab(38.52, 62.45, -66.43) |
| CIE-LCH | lch(38.52, 91.18, 313.23°) |
| OKLab | oklab(49.85% 0.1205 -0.1897) |
| OKLCH | oklch(49.85% 0.225 302.4) |
| XYZ | xyz(20.0081, 10.3804, 56.1965) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.84
Blueviolet
#8A2BE2
ΔE00 3.86
Burple
#6832E3
ΔE00 5.01
Darkorchid
#9932CC
ΔE00 5.31
Purple Blue
#5D21D0
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2BC9 #76C92B
analogous
#2F2BC9 #7E2BC9 #C92BC5
triadic
#7E2BC9 #C97E2B #2BC97E
tetradic
#7E2BC9 #C92F2B #76C92B #2BC5C9
square
#7E2BC9 #C92F2B #76C92B #2BC5C9
split-complementary
#7E2BC9 #C5C92B #2BC92F
monochromatic
#3F1564 #5E2097 #7E2BC9 #9C56DB #BA89E6
Accessibility & contrast
On white
6.83
#7E2BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7E2BC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2BC9
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2BC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2BC9 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#6E567A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7e2bc9; /* rgb */ color: rgb(126, 43, 201); /* oklch */ color: oklch(49.8% 0.225 302.4);
Tailwind
colors: {
custom: {
50: '#aa6eda',
500: '#7e2bc9',
950: '#000000',
},
}SCSS
$custom: #7e2bc9; $custom-light: #aa6eda; $custom-dark: #000000;
JSON
{
"hex": "#7e2bc9",
"rgb": {
"r": 126,
"g": 43,
"b": 201
},
"hsl": {
"h": 271.519,
"s": 64.754,
"l": 47.843
},
"oklch": {
"l": 0.49845,
"c": 0.22471,
"h": 302.4
},
"luminance": 0.1038
}Semantic roles & 50–950 ramp
primary
#7E2BC9
secondary
#A6CF80
accent
#E84090
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83