#7056EA#7056EA

#7056EA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.213 H 285.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7056EA
RGBrgb(112, 86, 234)
HSLhsl(251, 78%, 63%)
HSVhsv(251, 63%, 92%)
CMYKcmyk(52.1%, 63.2%, 0%, 8.2%)
CIE-LABlab(47.03, 48.08, -71.51)
CIE-LCHlch(47.03, 86.17, 303.91°)
OKLaboklab(56.37% 0.0564 -0.2052)
OKLCHoklch(56.37% 0.213 285.4)
XYZxyz(24.8567, 16.0395, 79.6121)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056EA #D0EA56
analogous
#5686EA #7056EA #BA56EA
triadic
#7056EA #EA7056 #56EA70
tetradic
#7056EA #EA5686 #D0EA56 #56EABA
square
#7056EA #EA5686 #D0EA56 #56EABA
split-complementary
#7056EA #EABA56 #86EA56
monochromatic
#3116B0 #4220E3 #7056EA #9E8CF1 #CCC3F8

Accessibility & contrast

On white

4.99
#7056EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7056EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056EA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056EA#FFFFFF#000000##FFFFFF
##7056EA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#3F7A98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7056ea;
/* rgb */ color: rgb(112, 86, 234);
/* oklch */ color: oklch(56.4% 0.213 285.4);
Tailwind
colors: {
  custom: {
    50: '#a387f2',
    500: '#7056ea',
    950: '#000000',
  },
}
SCSS
$custom: #7056ea;
$custom-light: #a387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ea",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 250.541,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.21282,
    "h": 285.4
  },
  "luminance": 0.16041
}

Semantic roles & 50–950 ramp

primary
#7056EA
secondary
#DFE9B3
accent
#DA0BB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7056EA

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

Preview Lab → · Contrast checker → · Palette generator →

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