#7056CE#7056CE

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

Color values

HEX#7056CE
RGBrgb(112, 86, 206)
HSLhsl(253, 55%, 57%)
HSVhsv(253, 58%, 81%)
CMYKcmyk(45.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(45.02, 39.96, -58.83)
CIE-LCHlch(45.02, 71.12, 304.19°)
OKLaboklab(54.27% 0.058 -0.1679)
OKLCHoklch(54.27% 0.178 289.1)
XYZxyz(21.1473, 14.5557, 60.0758)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056CE #B4CE56
analogous
#5678CE #7056CE #AC56CE
triadic
#7056CE #CE7056 #56CE70
tetradic
#7056CE #CE5678 #B4CE56 #56CEAC
square
#7056CE #CE5678 #B4CE56 #56CEAC
split-complementary
#7056CE #CEAC56 #78CE56
monochromatic
#3A2683 #4F34B3 #7056CE #9885DC #C0B5EA

Accessibility & contrast

On white

5.37
#7056CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7056CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056CE#FFFFFF#000000##FFFFFF
##7056CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#53718A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7056ce;
/* rgb */ color: rgb(112, 86, 206);
/* oklch */ color: oklch(54.3% 0.178 289.1);
Tailwind
colors: {
  custom: {
    50: '#9f86de',
    500: '#7056ce',
    950: '#000000',
  },
}
SCSS
$custom: #7056ce;
$custom-light: #9f86de;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ce",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 253,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.17766,
    "h": 289.1
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#7056CE
secondary
#CED8A8
accent
#DE49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7056CE

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

Preview Lab → · Contrast checker → · Palette generator →

#7056CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva