#7057CA#7057CA

#7057CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.171 H 289.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7057CA
RGBrgb(112, 87, 202)
HSLhsl(253, 52%, 57%)
HSVhsv(253, 57%, 79%)
CMYKcmyk(44.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(44.98, 38.23, -56.60)
CIE-LCHlch(44.98, 68.30, 304.04°)
OKLaboklab(54.16% 0.0569 -0.1613)
OKLCHoklch(54.16% 0.171 289.4)
XYZxyz(20.7480, 14.5247, 57.5760)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057CA #B1CA57
analogous
#5778CA #7057CA #A957CA
triadic
#7057CA #CA7057 #57CA70
tetradic
#7057CA #CA5778 #B1CA57 #57CAA9
square
#7057CA #CA5778 #B1CA57 #57CAA9
split-complementary
#7057CA #CAA957 #78CA57
monochromatic
#3B287F #5037AD #7057CA #9886D9 #BFB4E7

Accessibility & contrast

On white

5.38
#7057CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7057CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057CA#FFFFFF#000000##FFFFFF
##7057CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#557088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7057ca;
/* rgb */ color: rgb(112, 87, 202);
/* oklch */ color: oklch(54.2% 0.171 289.4);
Tailwind
colors: {
  custom: {
    50: '#9f87db',
    500: '#7057ca',
    950: '#000000',
  },
}
SCSS
$custom: #7057ca;
$custom-light: #9f87db;
$custom-dark: #000000;
JSON
{
  "hex": "#7057ca",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 253.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.1711,
    "h": 289.4
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#7057CA
secondary
#CCD6A7
accent
#DB4CBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7057CA

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

Preview Lab → · Contrast checker → · Palette generator →

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