#7E2FFE#7E2FFE
#7E2FFE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.8% C 0.273 H 291.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2FFE |
|---|---|
| RGB | rgb(126, 47, 254) |
| HSL | hsl(263, 99%, 59%) |
| HSV | hsv(263, 81%, 100%) |
| CMYK | cmyk(50.4%, 81.5%, 0%, 0.4%) |
| CIE-LAB | lab(43.69, 73.45, -88.15) |
| CIE-LCH | lch(43.69, 114.74, 309.80°) |
| OKLab | oklab(54.85% 0.1013 -0.2533) |
| OKLCH | oklch(54.85% 0.273 291.8) |
| XYZ | xyz(27.5050, 13.6233, 94.9270) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet
#8F00FF
ΔE00 3.23
Bluish Purple
#703BE7
ΔE00 3.38
Blueviolet
#8A2BE2
ΔE00 3.96
Vivid Purple
#9900FA
ΔE00 4.15
Purpleish Blue
#6140EF
ΔE00 4.54
Burple
#6832E3
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2FFE #AFFE2F
analogous
#2F48FE #7E2FFE #E62FFE
triadic
#7E2FFE #FE7E2F #2FFE7E
tetradic
#7E2FFE #FE2F48 #AFFE2F #2FFEE6
square
#7E2FFE #FE2F48 #AFFE2F #2FFEE6
split-complementary
#7E2FFE #FEE62F #48FE2F
monochromatic
#4401B2 #5C01EF #7E2FFE #A46CFE #CAA9FF
Accessibility & contrast
On white
5.64
#7E2FFE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7E2FFE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2FFE
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2FFE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2FFE | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0063FA
Tritanopia (blue-blind)
#516E9A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e2ffe; /* rgb */ color: rgb(126, 47, 254); /* oklch */ color: oklch(54.8% 0.273 291.8);
Tailwind
colors: {
custom: {
50: '#b073ff',
500: '#7e2ffe',
950: '#000000',
},
}SCSS
$custom: #7e2ffe; $custom-light: #b073ff; $custom-dark: #000000;
JSON
{
"hex": "#7e2ffe",
"rgb": {
"r": 126,
"g": 47,
"b": 254
},
"hsl": {
"h": 262.899,
"s": 99.043,
"l": 59.02
},
"oklch": {
"l": 0.54848,
"c": 0.27283,
"h": 291.8
},
"luminance": 0.13624
}Semantic roles & 50–950 ramp
primary
#7E2FFE
secondary
#CEED9C
accent
#FF29AD
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120918
muted
#817B86