#7140C3#7140C3
#7140C3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.193 H 295.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7140C3 |
|---|---|
| RGB | rgb(113, 64, 195) |
| HSL | hsl(262, 52%, 51%) |
| HSV | hsv(262, 67%, 76%) |
| CMYK | cmyk(42.1%, 67.2%, 0%, 23.5%) |
| CIE-LAB | lab(39.78, 49.30, -60.95) |
| CIE-LCH | lch(39.78, 78.39, 308.97°) |
| OKLab | oklab(50.24% 0.0842 -0.1741) |
| OKLCH | oklch(50.24% 0.193 295.8) |
| XYZ | xyz(18.4912, 11.1172, 52.7908) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.71
Bluish Purple
#703BE7
ΔE00 4.77
Burple
#6832E3
ΔE00 4.90
Blurple
#5539CC
ΔE00 4.90
Blue With A Hint Of Purple
#533CC6
ΔE00 4.98
Purpley Blue
#5F34E7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7140C3 #92C340
analogous
#4050C3 #7140C3 #B240C3
triadic
#7140C3 #C37140 #40C371
tetradic
#7140C3 #C34050 #92C340 #40C3B2
square
#7140C3 #C34050 #92C340 #40C3B2
split-complementary
#7140C3 #C3B240 #50C340
monochromatic
#3B2168 #562F97 #7140C3 #946FD2 #B69DE0
Accessibility & contrast
On white
6.51
#7140C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7140C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7140C3
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7140C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7140C3 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#5C5F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7140c3; /* rgb */ color: rgb(113, 64, 195); /* oklch */ color: oklch(50.2% 0.193 295.8);
Tailwind
colors: {
custom: {
50: '#a078d6',
500: '#7140c3',
950: '#000000',
},
}SCSS
$custom: #7140c3; $custom-light: #a078d6; $custom-dark: #000000;
JSON
{
"hex": "#7140c3",
"rgb": {
"r": 113,
"g": 64,
"b": 195
},
"hsl": {
"h": 262.443,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.50239,
"c": 0.1934,
"h": 295.8
},
"luminance": 0.11118
}Semantic roles & 50–950 ramp
primary
#7140C3
secondary
#B7CC92
accent
#DC4CA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83