#7E2FC5#7E2FC5
#7E2FC5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.217 H 303.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2FC5 |
|---|---|
| RGB | rgb(126, 47, 197) |
| HSL | hsl(272, 61%, 48%) |
| HSV | hsv(272, 76%, 77%) |
| CMYK | cmyk(36%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(38.73, 60.00, -63.76) |
| CIE-LCH | lch(38.73, 87.55, 313.26°) |
| OKLab | oklab(49.89% 0.1183 -0.1818) |
| OKLCH | oklch(49.89% 0.217 303) |
| XYZ | xyz(19.6964, 10.4999, 53.8015) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.17
Darkviolet
#9400D3
ΔE00 4.21
Darkorchid
#9932CC
ΔE00 5.08
Burple
#6832E3
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.75
Bluish Purple
#703BE7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2FC5 #76C52F
analogous
#332FC5 #7E2FC5 #C52FC1
triadic
#7E2FC5 #C57E2F #2FC57E
tetradic
#7E2FC5 #C5332F #76C52F #2FC1C5
square
#7E2FC5 #C5332F #76C52F #2FC1C5
split-complementary
#7E2FC5 #C1C52F #2FC533
monochromatic
#3F1762 #5E2394 #7E2FC5 #9C5AD8 #BA8BE3
Accessibility & contrast
On white
6.77
#7E2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#7E2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2FC5
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2FC5 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#6F5679
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7e2fc5; /* rgb */ color: rgb(126, 47, 197); /* oklch */ color: oklch(49.9% 0.217 303.0);
Tailwind
colors: {
custom: {
50: '#aa70d8',
500: '#7e2fc5',
950: '#000000',
},
}SCSS
$custom: #7e2fc5; $custom-light: #aa70d8; $custom-dark: #000000;
JSON
{
"hex": "#7e2fc5",
"rgb": {
"r": 126,
"g": 47,
"b": 197
},
"hsl": {
"h": 271.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.4989,
"c": 0.21693,
"h": 303
},
"luminance": 0.105
}Semantic roles & 50–950 ramp
primary
#7E2FC5
secondary
#A6CD82
accent
#E54390
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83