#7057DC#7057DC

#7057DC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.194 H 286.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7057DC
RGBrgb(112, 87, 220)
HSLhsl(251, 66%, 60%)
HSVhsv(251, 60%, 86%)
CMYKcmyk(49.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(46.21, 43.44, -64.90)
CIE-LCHlch(46.21, 78.10, 303.79°)
OKLaboklab(55.46% 0.0564 -0.1858)
OKLCHoklch(55.46% 0.194 286.9)
XYZxyz(23.0048, 15.4274, 69.4619)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057DC #C3DC57
analogous
#5781DC #7057DC #B257DC
triadic
#7057DC #DC7057 #57DC70
tetradic
#7057DC #DC5781 #C3DC57 #57DCB2
square
#7057DC #DC5781 #C3DC57 #57DCB2
split-complementary
#7057DC #DCB257 #81DC57
monochromatic
#372099 #492ACB #7057DC #9B8AE7 #C6BCF1

Accessibility & contrast

On white

5.14
#7057DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7057DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057DC#FFFFFF#000000##FFFFFF
##7057DC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#4A7691
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7057dc;
/* rgb */ color: rgb(112, 87, 220);
/* oklch */ color: oklch(55.5% 0.194 286.9);
Tailwind
colors: {
  custom: {
    50: '#a187e8',
    500: '#7057dc',
    950: '#000000',
  },
}
SCSS
$custom: #7057dc;
$custom-light: #a187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7057dc",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 251.278,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.19416,
    "h": 286.9
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#7057DC
secondary
#D7E1AE
accent
#CD18AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057DC

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

Preview Lab → · Contrast checker → · Palette generator →

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