#7057E3#7057E3
#7057E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.0% C 0.203 H 286.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7057E3 |
|---|---|
| RGB | rgb(112, 87, 227) |
| HSL | hsl(251, 71%, 62%) |
| HSV | hsv(251, 62%, 89%) |
| CMYK | cmyk(50.7%, 61.7%, 0%, 11%) |
| CIE-LAB | lab(46.72, 45.48, -68.06) |
| CIE-LCH | lch(46.72, 81.85, 303.75°) |
| OKLab | oklab(55.99% 0.056 -0.195) |
| OKLCH | oklch(55.99% 0.203 286) |
| XYZ | xyz(23.9513, 15.8060, 74.4470) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.33
Dark Periwinkle
#665FD1
ΔE00 3.87
Purpley
#8756E4
ΔE00 4.00
Iris
#6258C4
ΔE00 5.03
Mediumslateblue
#7B68EE
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7057E3 #CAE357
analogous
#5784E3 #7057E3 #B657E3
triadic
#7057E3 #E37057 #57E370
tetradic
#7057E3 #E35784 #CAE357 #57E3B6
square
#7057E3 #E35784 #CAE357 #57E3B6
split-complementary
#7057E3 #E3B657 #84E357
monochromatic
#341BA4 #4424D9 #7057E3 #9D8BEC #C9C0F4
Accessibility & contrast
On white
5.05
#7057E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7057E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7057E3
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7057E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7057E3 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#457895
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7057e3; /* rgb */ color: rgb(112, 87, 227); /* oklch */ color: oklch(56.0% 0.203 286.0);
Tailwind
colors: {
custom: {
50: '#a287ed',
500: '#7057e3',
950: '#000000',
},
}SCSS
$custom: #7057e3; $custom-light: #a287ed; $custom-dark: #000000;
JSON
{
"hex": "#7057e3",
"rgb": {
"r": 112,
"g": 87,
"b": 227
},
"hsl": {
"h": 250.714,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.55986,
"c": 0.20293,
"h": 286
},
"luminance": 0.15807
}Semantic roles & 50–950 ramp
primary
#7057E3
secondary
#DCE5B1
accent
#D312B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84