#7056E4#7056E4

#7056E4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 55.9% C 0.205 H 286.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7056E4
RGBrgb(112, 86, 228)
HSLhsl(251, 72%, 62%)
HSVhsv(251, 62%, 89%)
CMYKcmyk(50.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.58, 46.33, -68.85)
CIE-LCHlch(46.58, 82.99, 303.94°)
OKLaboklab(55.91% 0.0569 -0.1974)
OKLCHoklch(55.91% 0.205 286.1)
XYZxyz(24.0093, 15.7006, 75.1492)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056E4 #CAE456
analogous
#5683E4 #7056E4 #B756E4
triadic
#7056E4 #E47056 #56E470
tetradic
#7056E4 #E45683 #CAE456 #56E4B7
square
#7056E4 #E45683 #CAE456 #56E4B7
split-complementary
#7056E4 #E4B756 #83E456
monochromatic
#341AA5 #4423DA #7056E4 #9D8BEC #C9C0F5

Accessibility & contrast

On white

5.07
#7056E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7056E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056E4#FFFFFF#000000##FFFFFF
##7056E41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#447895
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7056e4;
/* rgb */ color: rgb(112, 86, 228);
/* oklch */ color: oklch(55.9% 0.205 286.1);
Tailwind
colors: {
  custom: {
    50: '#a287ed',
    500: '#7056e4',
    950: '#000000',
  },
}
SCSS
$custom: #7056e4;
$custom-light: #a287ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7056e4",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 250.986,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.20543,
    "h": 286.1
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#7056E4
secondary
#DCE5B0
accent
#D511B1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7056E4

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

Preview Lab → · Contrast checker → · Palette generator →

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