#7056DF#7056DF

#7056DF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.199 H 286.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7056DF
RGBrgb(112, 86, 223)
HSLhsl(251, 68%, 61%)
HSVhsv(251, 61%, 87%)
CMYKcmyk(49.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(46.21, 44.88, -66.61)
CIE-LCHlch(46.21, 80.32, 303.97°)
OKLaboklab(55.53% 0.0573 -0.1908)
OKLCHoklch(55.53% 0.199 286.7)
XYZxyz(23.3252, 15.4269, 71.5464)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056DF #C5DF56
analogous
#5680DF #7056DF #B456DF
triadic
#7056DF #DF7056 #56DF70
tetradic
#7056DF #DF5680 #C5DF56 #56DFB4
square
#7056DF #DF5680 #C5DF56 #56DFB4
split-complementary
#7056DF #DFB456 #80DF56
monochromatic
#361E9D #4827D0 #7056DF #9C89E9 #C7BDF2

Accessibility & contrast

On white

5.14
#7056DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7056DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056DF#FFFFFF#000000##FFFFFF
##7056DF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#487792
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7056df;
/* rgb */ color: rgb(112, 86, 223);
/* oklch */ color: oklch(55.5% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#a187ea',
    500: '#7056df',
    950: '#000000',
  },
}
SCSS
$custom: #7056df;
$custom-light: #a187ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7056df",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 251.387,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55526,
    "c": 0.19921,
    "h": 286.7
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#7056DF
secondary
#D9E2AE
accent
#D015AD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7056DF

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

Preview Lab → · Contrast checker → · Palette generator →

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