#7057E7#7057E7

#7057E7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.208 H 285.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7057E7
RGBrgb(112, 87, 231)
HSLhsl(250, 75%, 62%)
HSVhsv(250, 62%, 91%)
CMYKcmyk(51.5%, 62.3%, 0%, 9.4%)
CIE-LABlab(47.01, 46.64, -69.84)
CIE-LCHlch(47.01, 83.99, 303.74°)
OKLaboklab(56.29% 0.0557 -0.2003)
OKLCHoklch(56.29% 0.208 285.5)
XYZxyz(24.5098, 16.0294, 77.3883)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057E7 #CEE757
analogous
#5786E7 #7057E7 #B857E7
triadic
#7057E7 #E77057 #57E770
tetradic
#7057E7 #E75786 #CEE757 #57E7B8
square
#7057E7 #E75786 #CEE757 #57E7B8
split-complementary
#7057E7 #E7B857 #86E757
monochromatic
#3218AB #4221DF #7057E7 #9E8DEF #CBC2F6

Accessibility & contrast

On white

4.99
#7057E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7057E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057E7#FFFFFF#000000##FFFFFF
##7057E71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#417A97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7057e7;
/* rgb */ color: rgb(112, 87, 231);
/* oklch */ color: oklch(56.3% 0.208 285.5);
Tailwind
colors: {
  custom: {
    50: '#a288f0',
    500: '#7057e7',
    950: '#000000',
  },
}
SCSS
$custom: #7057e7;
$custom-light: #a288f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7057e7",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 250.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.2079,
    "h": 285.5
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#7057E7
secondary
#DEE7B3
accent
#D70EB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057E7

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

Preview Lab → · Contrast checker → · Palette generator →

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