#7146E2#7146E2
#7146E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.222 H 289.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7146E2 |
|---|---|
| RGB | rgb(113, 70, 226) |
| HSL | hsl(257, 73%, 58%) |
| HSV | hsv(257, 69%, 89%) |
| CMYK | cmyk(50%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(43.33, 54.58, -73.01) |
| CIE-LCH | lch(43.33, 91.16, 306.78°) |
| OKLab | oklab(53.54% 0.0735 -0.2095) |
| OKLCH | oklch(53.54% 0.222 289.3) |
| XYZ | xyz(22.7237, 13.3810, 73.3222) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.22
Purpleish Blue
#6140EF
ΔE00 2.83
Burple
#6832E3
ΔE00 4.29
Purpley Blue
#5F34E7
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 4.66
Blueviolet
#8A2BE2
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7146E2 #B7E246
analogous
#4669E2 #7146E2 #BF46E2
triadic
#7146E2 #E27146 #46E271
tetradic
#7146E2 #E24669 #B7E246 #46E2BF
square
#7146E2 #E24669 #B7E246 #46E2BF
split-complementary
#7146E2 #E2BF46 #69E246
monochromatic
#3A1896 #4F20CB #7146E2 #9A7BEA #C2B0F3
Accessibility & contrast
On white
5.71
#7146E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#7146E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7146E2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7146E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7146E2 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#496E8F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7146e2; /* rgb */ color: rgb(113, 70, 226); /* oklch */ color: oklch(53.5% 0.222 289.3);
Tailwind
colors: {
custom: {
50: '#a37dec',
500: '#7146e2',
950: '#000000',
},
}SCSS
$custom: #7146e2; $custom-light: #a37dec; $custom-dark: #000000;
JSON
{
"hex": "#7146e2",
"rgb": {
"r": 113,
"g": 70,
"b": 226
},
"hsl": {
"h": 256.538,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.5354,
"c": 0.22206,
"h": 289.3
},
"luminance": 0.13382
}Semantic roles & 50–950 ramp
primary
#7146E2
secondary
#D0E1A3
accent
#F038BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84