#7057EB#7057EB

#7057EB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.6% C 0.213 H 285.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7057EB
RGBrgb(112, 87, 235)
HSLhsl(250, 79%, 63%)
HSVhsv(250, 63%, 92%)
CMYKcmyk(52.3%, 63%, 0%, 7.8%)
CIE-LABlab(47.31, 47.81, -71.61)
CIE-LCHlch(47.31, 86.11, 303.73°)
OKLaboklab(56.6% 0.0554 -0.2055)
OKLCHoklch(56.6% 0.213 285.1)
XYZxyz(25.0812, 16.2579, 80.3977)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057EB #D2EB57
analogous
#5788EB #7057EB #BA57EB
triadic
#7057EB #EB7057 #57EB70
tetradic
#7057EB #EB5788 #D2EB57 #57EBBA
square
#7057EB #EB5788 #D2EB57 #57EBBA
split-complementary
#7057EB #EBBA57 #88EB57
monochromatic
#3015B2 #4120E4 #7057EB #9F8EF2 #CDC4F8

Accessibility & contrast

On white

4.94
#7057EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7057EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057EB#FFFFFF#000000##FFFFFF
##7057EB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#3E7B99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7057eb;
/* rgb */ color: rgb(112, 87, 235);
/* oklch */ color: oklch(56.6% 0.213 285.1);
Tailwind
colors: {
  custom: {
    50: '#a388f2',
    500: '#7057eb',
    950: '#000000',
  },
}
SCSS
$custom: #7057eb;
$custom-light: #a388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7057eb",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 250.135,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.21282,
    "h": 285.1
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#7057EB
secondary
#E0E9B4
accent
#DB0AB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057EB

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

Preview Lab → · Contrast checker → · Palette generator →

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