#7140CA#7140CA
#7140CA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.201 H 294.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7140CA |
|---|---|
| RGB | rgb(113, 64, 202) |
| HSL | hsl(261, 57%, 52%) |
| HSV | hsv(261, 68%, 79%) |
| CMYK | cmyk(44.1%, 68.3%, 0%, 20.8%) |
| CIE-LAB | lab(40.31, 51.16, -64.15) |
| CIE-LCH | lch(40.31, 82.05, 308.57°) |
| OKLab | oklab(50.79% 0.0832 -0.1835) |
| OKLCH | oklch(50.79% 0.201 294.4) |
| XYZ | xyz(19.3012, 11.4413, 57.0571) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.53
Bluish Purple
#703BE7
ΔE00 3.78
Burple
#6832E3
ΔE00 4.12
Blurple
#5539CC
ΔE00 4.66
Purpley Blue
#5F34E7
ΔE00 4.84
Blue With A Hint Of Purple
#533CC6
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7140CA #99CA40
analogous
#4054CA #7140CA #B640CA
triadic
#7140CA #CA7140 #40CA71
tetradic
#7140CA #CA4054 #99CA40 #40CAB6
square
#7140CA #CA4054 #99CA40 #40CAB6
split-complementary
#7140CA #CAB640 #54CA40
monochromatic
#3C1F70 #562CA0 #7140CA #9570D7 #B8A0E5
Accessibility & contrast
On white
6.39
#7140CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#7140CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7140CA
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7140CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7140CA | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#586280
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7140ca; /* rgb */ color: rgb(113, 64, 202); /* oklch */ color: oklch(50.8% 0.201 294.4);
Tailwind
colors: {
custom: {
50: '#a178db',
500: '#7140ca',
950: '#000000',
},
}SCSS
$custom: #7140ca; $custom-light: #a178db; $custom-dark: #000000;
JSON
{
"hex": "#7140ca",
"rgb": {
"r": 113,
"g": 64,
"b": 202
},
"hsl": {
"h": 261.304,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.50792,
"c": 0.20147,
"h": 294.4
},
"luminance": 0.11442
}Semantic roles & 50–950 ramp
primary
#7140CA
secondary
#BCD195
accent
#E048AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83