#7057CC#7057CC

#7057CC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.174 H 289.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7057CC
RGBrgb(112, 87, 204)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 57%, 80%)
CMYKcmyk(45.1%, 57.4%, 0%, 20%)
CIE-LABlab(45.11, 38.80, -57.54)
CIE-LCHlch(45.11, 69.40, 304.00°)
OKLaboklab(54.3% 0.0569 -0.1641)
OKLCHoklch(54.3% 0.174 289.1)
XYZxyz(20.9863, 14.6200, 58.8312)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057CC #B3CC57
analogous
#5778CC #7057CC #AB57CC
triadic
#7057CC #CC7057 #57CC70
tetradic
#7057CC #CC5778 #B3CC57 #57CCAB
square
#7057CC #CC5778 #B3CC57 #57CCAB
split-complementary
#7057CC #CCAB57 #78CC57
monochromatic
#3B2781 #5036B0 #7057CC #9886DA #C0B5E9

Accessibility & contrast

On white

5.35
#7057CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7057CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057CC#FFFFFF#000000##FFFFFF
##7057CC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046DD0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#547189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7057cc;
/* rgb */ color: rgb(112, 87, 204);
/* oklch */ color: oklch(54.3% 0.174 289.1);
Tailwind
colors: {
  custom: {
    50: '#9f87dc',
    500: '#7057cc',
    950: '#000000',
  },
}
SCSS
$custom: #7057cc;
$custom-light: #9f87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7057cc",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 252.821,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.17369,
    "h": 289.1
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#7057CC
secondary
#CDD7A8
accent
#DD4BBE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7057CC

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

Preview Lab → · Contrast checker → · Palette generator →

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