#7056DD#7056DD

#7056DD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.197 H 287.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7056DD
RGBrgb(112, 86, 221)
HSLhsl(252, 67%, 60%)
HSVhsv(252, 61%, 87%)
CMYKcmyk(49.3%, 61.1%, 0%, 13.3%)
CIE-LABlab(46.07, 44.30, -65.71)
CIE-LCHlch(46.07, 79.25, 303.99°)
OKLaboklab(55.38% 0.0574 -0.1882)
OKLCHoklch(55.38% 0.197 287)
XYZxyz(23.0572, 15.3197, 70.1347)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056DD #C3DD56
analogous
#567FDD #7056DD #B456DD
triadic
#7056DD #DD7056 #56DD70
tetradic
#7056DD #DD567F #C3DD56 #56DDB4
square
#7056DD #DD567F #C3DD56 #56DDB4
split-complementary
#7056DD #DDB456 #7FDD56
monochromatic
#371F9A #4929CD #7056DD #9B89E7 #C6BCF2

Accessibility & contrast

On white

5.17
#7056DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7056DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056DD#FFFFFF#000000##FFFFFF
##7056DD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#497691
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7056dd;
/* rgb */ color: rgb(112, 86, 221);
/* oklch */ color: oklch(55.4% 0.197 287.0);
Tailwind
colors: {
  custom: {
    50: '#a187e8',
    500: '#7056dd',
    950: '#000000',
  },
}
SCSS
$custom: #7056dd;
$custom-light: #a187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7056dd",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 251.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.19671,
    "h": 287
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#7056DD
secondary
#D7E1AE
accent
#CE17AB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7056DD

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

Preview Lab → · Contrast checker → · Palette generator →

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