#7E35E2#7E35E2
#7E35E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.9% C 0.240 H 296.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7E35E2 |
|---|---|
| RGB | rgb(126, 53, 226) |
| HSL | hsl(265, 75%, 55%) |
| HSV | hsv(265, 77%, 89%) |
| CMYK | cmyk(44.2%, 76.5%, 0%, 11.4%) |
| CIE-LAB | lab(41.96, 64.45, -75.20) |
| CIE-LCH | lch(41.96, 99.04, 310.60°) |
| OKLab | oklab(52.89% 0.106 -0.2155) |
| OKLCH | oklch(52.89% 0.24 296.2) |
| XYZ | xyz(23.6011, 12.4723, 73.1007) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.05
Bluish Purple
#703BE7
ΔE00 2.33
Burple
#6832E3
ΔE00 3.40
Purpley Blue
#5F34E7
ΔE00 4.44
Violet
#8F00FF
ΔE00 4.44
Violet (survey)
#9A0EEA
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E35E2 #99E235
analogous
#3543E2 #7E35E2 #D535E2
triadic
#7E35E2 #E27E35 #35E27E
tetradic
#7E35E2 #E23543 #99E235 #35E2D5
square
#7E35E2 #E23543 #99E235 #35E2D5
split-complementary
#7E35E2 #E2D535 #43E235
monochromatic
#451489 #601BBE #7E35E2 #A06BEA #C2A0F1
Accessibility & contrast
On white
6.01
#7E35E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7E35E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E35E2
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E35E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E35E2 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#62658B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7e35e2; /* rgb */ color: rgb(126, 53, 226); /* oklch */ color: oklch(52.9% 0.240 296.2);
Tailwind
colors: {
custom: {
50: '#ac74ec',
500: '#7e35e2',
950: '#000000',
},
}SCSS
$custom: #7e35e2; $custom-light: #ac74ec; $custom-dark: #000000;
JSON
{
"hex": "#7e35e2",
"rgb": {
"r": 126,
"g": 53,
"b": 226
},
"hsl": {
"h": 265.318,
"s": 74.892,
"l": 54.706
},
"oklch": {
"l": 0.52891,
"c": 0.24012,
"h": 296.2
},
"luminance": 0.12473
}Semantic roles & 50–950 ramp
primary
#7E35E2
secondary
#BFDE95
accent
#F236A3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84