#7057E5#7057E5

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

Color values

HEX#7057E5
RGBrgb(112, 87, 229)
HSLhsl(251, 73%, 62%)
HSVhsv(251, 62%, 90%)
CMYKcmyk(51.1%, 62%, 0%, 10.2%)
CIE-LABlab(46.87, 46.06, -68.95)
CIE-LCHlch(46.87, 82.92, 303.74°)
OKLaboklab(56.14% 0.0559 -0.1977)
OKLCHoklch(56.14% 0.205 285.8)
XYZxyz(24.2289, 15.9170, 75.9092)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057E5 #CCE557
analogous
#5785E5 #7057E5 #B757E5
triadic
#7057E5 #E57057 #57E570
tetradic
#7057E5 #E55785 #CCE557 #57E5B7
square
#7057E5 #E55785 #CCE557 #57E5B7
split-complementary
#7057E5 #E5B757 #85E557
monochromatic
#331AA8 #4322DD #7057E5 #9D8CED #CAC1F5

Accessibility & contrast

On white

5.02
#7057E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7057E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057E5#FFFFFF#000000##FFFFFF
##7057E51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#437996
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7057e5;
/* rgb */ color: rgb(112, 87, 229);
/* oklch */ color: oklch(56.1% 0.205 285.8);
Tailwind
colors: {
  custom: {
    50: '#a288ee',
    500: '#7057e5',
    950: '#000000',
  },
}
SCSS
$custom: #7057e5;
$custom-light: #a288ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7057e5",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 250.563,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.20542,
    "h": 285.8
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#7057E5
secondary
#DDE6B2
accent
#D510B3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057E5

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

Preview Lab → · Contrast checker → · Palette generator →

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