#7E2FBD#7E2FBD
#7E2FBD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.209 H 305.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2FBD |
|---|---|
| RGB | rgb(126, 47, 189) |
| HSL | hsl(273, 60%, 46%) |
| HSV | hsv(273, 75%, 74%) |
| CMYK | cmyk(33.3%, 75.1%, 0%, 25.9%) |
| CIE-LAB | lab(38.10, 58.16, -60.10) |
| CIE-LCH | lch(38.10, 83.64, 314.06°) |
| OKLab | oklab(49.25% 0.1201 -0.1711) |
| OKLCH | oklch(49.25% 0.209 305.1) |
| XYZ | xyz(18.8039, 10.1429, 49.1014) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.30
Purple (survey)
#7E1E9C
ΔE00 5.97
Bluey Purple
#6241C7
ΔE00 6.25
Rebeccapurple
#663399
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2FBD #6EBD2F
analogous
#372FBD #7E2FBD #BD2FB5
triadic
#7E2FBD #BD7E2F #2FBD7E
tetradic
#7E2FBD #BD372F #6EBD2F #2FB5BD
square
#7E2FBD #BD372F #6EBD2F #2FB5BD
split-complementary
#7E2FBD #B5BD2F #2FBD37
monochromatic
#3D175B #5D238C #7E2FBD #9C55D5 #B886E1
Accessibility & contrast
On white
6.93
#7E2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7E2FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2FBD
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2FBD | 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)
#0058C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#725274
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7e2fbd; /* rgb */ color: rgb(126, 47, 189); /* oklch */ color: oklch(49.3% 0.209 305.1);
Tailwind
colors: {
custom: {
50: '#a970d2',
500: '#7e2fbd',
950: '#000000',
},
}SCSS
$custom: #7e2fbd; $custom-light: #a970d2; $custom-dark: #000000;
JSON
{
"hex": "#7e2fbd",
"rgb": {
"r": 126,
"g": 47,
"b": 189
},
"hsl": {
"h": 273.38,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.49254,
"c": 0.20902,
"h": 305.1
},
"luminance": 0.10143
}Semantic roles & 50–950 ramp
primary
#7E2FBD
secondary
#A0CA7E
accent
#E3448B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83