#7046E2#7046E2
#7046E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.222 H 288.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7046E2 |
|---|---|
| RGB | rgb(112, 70, 226) |
| HSL | hsl(256, 73%, 58%) |
| HSV | hsv(256, 69%, 89%) |
| CMYK | cmyk(50.4%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(43.23, 54.42, -73.17) |
| CIE-LCH | lch(43.23, 91.19, 306.64°) |
| OKLab | oklab(53.45% 0.0721 -0.2101) |
| OKLCH | oklch(53.45% 0.222 288.9) |
| XYZ | xyz(22.5957, 13.3150, 73.3162) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.20
Purpleish Blue
#6140EF
ΔE00 2.71
Burple
#6832E3
ΔE00 4.23
Purpley Blue
#5F34E7
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7046E2 #B8E246
analogous
#466AE2 #7046E2 #BE46E2
triadic
#7046E2 #E27046 #46E270
tetradic
#7046E2 #E2466A #B8E246 #46E2BE
square
#7046E2 #E2466A #B8E246 #46E2BE
split-complementary
#7046E2 #E2BE46 #6AE246
monochromatic
#3A1896 #4E20CB #7046E2 #997BEA #C2B0F3
Accessibility & contrast
On white
5.73
#7046E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#7046E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7046E2
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7046E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7046E2 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#476E8F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7046e2; /* rgb */ color: rgb(112, 70, 226); /* oklch */ color: oklch(53.4% 0.222 288.9);
Tailwind
colors: {
custom: {
50: '#a37dec',
500: '#7046e2',
950: '#000000',
},
}SCSS
$custom: #7046e2; $custom-light: #a37dec; $custom-dark: #000000;
JSON
{
"hex": "#7046e2",
"rgb": {
"r": 112,
"g": 70,
"b": 226
},
"hsl": {
"h": 256.154,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.53447,
"c": 0.22209,
"h": 288.9
},
"luminance": 0.13316
}Semantic roles & 50–950 ramp
primary
#7046E2
secondary
#D0E1A3
accent
#F038BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84