#7057E4#7057E4

#7057E4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.1% C 0.204 H 285.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7057E4
RGBrgb(112, 87, 228)
HSLhsl(251, 72%, 62%)
HSVhsv(251, 62%, 89%)
CMYKcmyk(50.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(46.79, 45.77, -68.51)
CIE-LCHlch(46.79, 82.39, 303.75°)
OKLaboklab(56.06% 0.0559 -0.1964)
OKLCHoklch(56.06% 0.204 285.9)
XYZxyz(24.0897, 15.8614, 75.1760)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057E4 #CBE457
analogous
#5785E4 #7057E4 #B657E4
triadic
#7057E4 #E47057 #57E470
tetradic
#7057E4 #E45785 #CBE457 #57E4B6
square
#7057E4 #E45785 #CBE457 #57E4B6
split-complementary
#7057E4 #E4B657 #85E457
monochromatic
#331BA6 #4423DB #7057E4 #9D8CEC #CAC0F5

Accessibility & contrast

On white

5.03
#7057E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7057E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057E4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057E4#FFFFFF#000000##FFFFFF
##7057E41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#447995
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7057e4;
/* rgb */ color: rgb(112, 87, 228);
/* oklch */ color: oklch(56.1% 0.204 285.9);
Tailwind
colors: {
  custom: {
    50: '#a288ed',
    500: '#7057e4',
    950: '#000000',
  },
}
SCSS
$custom: #7057e4;
$custom-light: #a288ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7057e4",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 250.638,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56062,
    "c": 0.20418,
    "h": 285.9
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#7057E4
secondary
#DCE6B1
accent
#D411B2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057E4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7057E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva