#7057EA#7057EA

#7057EA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.212 H 285.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7057EA
RGBrgb(112, 87, 234)
HSLhsl(250, 78%, 63%)
HSVhsv(250, 63%, 92%)
CMYKcmyk(52.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(47.24, 47.52, -71.17)
CIE-LCHlch(47.24, 85.58, 303.73°)
OKLaboklab(56.53% 0.0554 -0.2042)
OKLCHoklch(56.53% 0.212 285.2)
XYZxyz(24.9371, 16.2003, 79.6389)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057EA #D1EA57
analogous
#5787EA #7057EA #B957EA
triadic
#7057EA #EA7057 #57EA70
tetradic
#7057EA #EA5787 #D1EA57 #57EAB9
square
#7057EA #EA5787 #D1EA57 #57EAB9
split-complementary
#7057EA #EAB957 #87EA57
monochromatic
#3016B1 #4221E3 #7057EA #9E8DF1 #CDC4F8

Accessibility & contrast

On white

4.95
#7057EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7057EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057EA#FFFFFF#000000##FFFFFF
##7057EA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#3F7B99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7057ea;
/* rgb */ color: rgb(112, 87, 234);
/* oklch */ color: oklch(56.5% 0.212 285.2);
Tailwind
colors: {
  custom: {
    50: '#a388f2',
    500: '#7057ea',
    950: '#000000',
  },
}
SCSS
$custom: #7057ea;
$custom-light: #a388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7057ea",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 250.204,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.21159,
    "h": 285.2
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7057EA

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

Preview Lab → · Contrast checker → · Palette generator →

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