#7057CA#7057CA
#7057CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.171 H 289.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7057CA |
|---|---|
| RGB | rgb(112, 87, 202) |
| HSL | hsl(253, 52%, 57%) |
| HSV | hsv(253, 57%, 79%) |
| CMYK | cmyk(44.6%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.98, 38.23, -56.60) |
| CIE-LCH | lch(44.98, 68.30, 304.04°) |
| OKLab | oklab(54.16% 0.0569 -0.1613) |
| OKLCH | oklch(54.16% 0.171 289.4) |
| XYZ | xyz(20.7480, 14.5247, 57.5760) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.40
Slate Blue
#6A5ACD
ΔE00 1.65
Iris
#6258C4
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 3.54
Purpley
#8756E4
ΔE00 5.41
Bluey Purple
#6241C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7057CA #B1CA57
analogous
#5778CA #7057CA #A957CA
triadic
#7057CA #CA7057 #57CA70
tetradic
#7057CA #CA5778 #B1CA57 #57CAA9
square
#7057CA #CA5778 #B1CA57 #57CAA9
split-complementary
#7057CA #CAA957 #78CA57
monochromatic
#3B287F #5037AD #7057CA #9886D9 #BFB4E7
Accessibility & contrast
On white
5.38
#7057CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7057CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7057CA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7057CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7057CA | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#557088
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7057ca; /* rgb */ color: rgb(112, 87, 202); /* oklch */ color: oklch(54.2% 0.171 289.4);
Tailwind
colors: {
custom: {
50: '#9f87db',
500: '#7057ca',
950: '#000000',
},
}SCSS
$custom: #7057ca; $custom-light: #9f87db; $custom-dark: #000000;
JSON
{
"hex": "#7057ca",
"rgb": {
"r": 112,
"g": 87,
"b": 202
},
"hsl": {
"h": 253.043,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.54156,
"c": 0.1711,
"h": 289.4
},
"luminance": 0.14525
}Semantic roles & 50–950 ramp
primary
#7057CA
secondary
#CCD6A7
accent
#DB4CBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83