#7057DD#7057DD

#7057DD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.195 H 286.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7057DD
RGBrgb(112, 87, 221)
HSLhsl(251, 66%, 60%)
HSVhsv(251, 61%, 87%)
CMYKcmyk(49.3%, 60.6%, 0%, 13.3%)
CIE-LABlab(46.29, 43.73, -65.36)
CIE-LCHlch(46.29, 78.64, 303.78°)
OKLaboklab(55.53% 0.0564 -0.1871)
OKLCHoklch(55.53% 0.195 286.8)
XYZxyz(23.1376, 15.4805, 70.1615)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057DD #C4DD57
analogous
#5781DD #7057DD #B357DD
triadic
#7057DD #DD7057 #57DD70
tetradic
#7057DD #DD5781 #C4DD57 #57DDB3
square
#7057DD #DD5781 #C4DD57 #57DDB3
split-complementary
#7057DD #DDB357 #81DD57
monochromatic
#361F9A #482ACD #7057DD #9B8AE7 #C7BDF2

Accessibility & contrast

On white

5.13
#7057DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7057DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057DD#FFFFFF#000000##FFFFFF
##7057DD1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#497692
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7057dd;
/* rgb */ color: rgb(112, 87, 221);
/* oklch */ color: oklch(55.5% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#a187e8',
    500: '#7057dd',
    950: '#000000',
  },
}
SCSS
$custom: #7057dd;
$custom-light: #a187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7057dd",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 251.194,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.19542,
    "h": 286.8
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#7057DD
secondary
#D8E1AE
accent
#CE17AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057DD

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

Preview Lab → · Contrast checker → · Palette generator →

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