#7056EC#7056EC

#7056EC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.215 H 285.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7056EC
RGBrgb(112, 86, 236)
HSLhsl(250, 80%, 63%)
HSVhsv(250, 64%, 93%)
CMYKcmyk(52.5%, 63.6%, 0%, 7.5%)
CIE-LABlab(47.18, 48.66, -72.39)
CIE-LCHlch(47.18, 87.23, 303.91°)
OKLaboklab(56.53% 0.0562 -0.2078)
OKLCHoklch(56.53% 0.215 285.1)
XYZxyz(25.1457, 16.1551, 81.1339)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056EC #D2EC56
analogous
#5687EC #7056EC #BB56EC
triadic
#7056EC #EC7056 #56EC70
tetradic
#7056EC #EC5687 #D2EC56 #56ECBB
square
#7056EC #EC5687 #D2EC56 #56ECBB
split-complementary
#7056EC #ECBB56 #87EC56
monochromatic
#3014B3 #411FE6 #7056EC #9F8DF2 #CDC4F8

Accessibility & contrast

On white

4.96
#7056EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7056EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056EC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056EC#FFFFFF#000000##FFFFFF
##7056EC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#3D7B99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7056ec;
/* rgb */ color: rgb(112, 86, 236);
/* oklch */ color: oklch(56.5% 0.215 285.1);
Tailwind
colors: {
  custom: {
    50: '#a387f3',
    500: '#7056ec',
    950: '#000000',
  },
}
SCSS
$custom: #7056ec;
$custom-light: #a387f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ec",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 250.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.21526,
    "h": 285.1
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#7056EC
secondary
#E0EAB4
accent
#DC09B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056EC

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

Preview Lab → · Contrast checker → · Palette generator →

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