#7141E2#7141E2
#7141E2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.228 H 290.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7141E2 |
|---|---|
| RGB | rgb(113, 65, 226) |
| HSL | hsl(258, 74%, 57%) |
| HSV | hsv(258, 71%, 89%) |
| CMYK | cmyk(50%, 71.2%, 0%, 11.4%) |
| CIE-LAB | lab(42.43, 57.09, -74.48) |
| CIE-LCH | lch(42.43, 93.84, 307.47°) |
| OKLab | oklab(52.9% 0.0778 -0.2138) |
| OKLCH | oklch(52.9% 0.228 290) |
| XYZ | xyz(22.4239, 12.7813, 73.2223) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.22
Purpleish Blue
#6140EF
ΔE00 2.60
Burple
#6832E3
ΔE00 3.26
Purpley Blue
#5F34E7
ΔE00 3.66
Bluey Purple
#6241C7
ΔE00 4.31
Blueviolet
#8A2BE2
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7141E2 #B2E241
analogous
#4162E2 #7141E2 #C141E2
triadic
#7141E2 #E27141 #41E271
tetradic
#7141E2 #E24162 #B2E241 #41E2C1
square
#7141E2 #E24162 #B2E241 #41E2C1
split-complementary
#7141E2 #E2C141 #62E241
monochromatic
#3B1692 #511EC7 #7141E2 #9976EA #C0ABF2
Accessibility & contrast
On white
5.90
#7141E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#7141E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7141E2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7141E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7141E2 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#496C8E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7141e2; /* rgb */ color: rgb(113, 65, 226); /* oklch */ color: oklch(52.9% 0.228 290.0);
Tailwind
colors: {
custom: {
50: '#a47aec',
500: '#7141e2',
950: '#000000',
},
}SCSS
$custom: #7141e2; $custom-light: #a47aec; $custom-dark: #000000;
JSON
{
"hex": "#7141e2",
"rgb": {
"r": 113,
"g": 65,
"b": 226
},
"hsl": {
"h": 257.888,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.529,
"c": 0.22756,
"h": 290
},
"luminance": 0.12782
}Semantic roles & 50–950 ramp
primary
#7141E2
secondary
#CDE09F
accent
#F038B9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84