#7057E8#7057E8

#7057E8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.4% C 0.209 H 285.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7057E8
RGBrgb(112, 87, 232)
HSLhsl(250, 76%, 63%)
HSVhsv(250, 63%, 91%)
CMYKcmyk(51.7%, 62.5%, 0%, 9%)
CIE-LABlab(47.09, 46.94, -70.29)
CIE-LCHlch(47.09, 84.52, 303.73°)
OKLaboklab(56.37% 0.0556 -0.2016)
OKLCHoklch(56.37% 0.209 285.4)
XYZxyz(24.6514, 16.0860, 78.1343)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057E8 #CFE857
analogous
#5786E8 #7057E8 #B957E8
triadic
#7057E8 #E87057 #57E870
tetradic
#7057E8 #E85786 #CFE857 #57E8B9
square
#7057E8 #E85786 #CFE857 #57E8B9
split-complementary
#7057E8 #E8B957 #86E857
monochromatic
#3118AD #4221E1 #7057E8 #9E8DEF #CCC3F7

Accessibility & contrast

On white

4.98
#7057E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7057E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057E8#FFFFFF#000000##FFFFFF
##7057E81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#407A98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7057e8;
/* rgb */ color: rgb(112, 87, 232);
/* oklch */ color: oklch(56.4% 0.209 285.4);
Tailwind
colors: {
  custom: {
    50: '#a388f0',
    500: '#7057e8',
    950: '#000000',
  },
}
SCSS
$custom: #7057e8;
$custom-light: #a388f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7057e8",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 250.345,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.20913,
    "h": 285.4
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#7057E8
secondary
#DFE8B3
accent
#D80DB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057E8

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

Preview Lab → · Contrast checker → · Palette generator →

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