#7057E3#7057E3

#7057E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.0% C 0.203 H 286.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7057E3
RGBrgb(112, 87, 227)
HSLhsl(251, 71%, 62%)
HSVhsv(251, 62%, 89%)
CMYKcmyk(50.7%, 61.7%, 0%, 11%)
CIE-LABlab(46.72, 45.48, -68.06)
CIE-LCHlch(46.72, 81.85, 303.75°)
OKLaboklab(55.99% 0.056 -0.195)
OKLCHoklch(55.99% 0.203 286)
XYZxyz(23.9513, 15.8060, 74.4470)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057E3 #CAE357
analogous
#5784E3 #7057E3 #B657E3
triadic
#7057E3 #E37057 #57E370
tetradic
#7057E3 #E35784 #CAE357 #57E3B6
square
#7057E3 #E35784 #CAE357 #57E3B6
split-complementary
#7057E3 #E3B657 #84E357
monochromatic
#341BA4 #4424D9 #7057E3 #9D8BEC #C9C0F4

Accessibility & contrast

On white

5.05
#7057E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7057E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057E3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057E3#FFFFFF#000000##FFFFFF
##7057E31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#457895
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7057e3;
/* rgb */ color: rgb(112, 87, 227);
/* oklch */ color: oklch(56.0% 0.203 286.0);
Tailwind
colors: {
  custom: {
    50: '#a287ed',
    500: '#7057e3',
    950: '#000000',
  },
}
SCSS
$custom: #7057e3;
$custom-light: #a287ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7057e3",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 250.714,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.20293,
    "h": 286
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#7057E3
secondary
#DCE5B1
accent
#D312B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057E3

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

Preview Lab → · Contrast checker → · Palette generator →

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