#7056CF#7056CF

#7056CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.179 H 288.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7056CF
RGBrgb(112, 86, 207)
HSLhsl(253, 56%, 57%)
HSVhsv(253, 58%, 81%)
CMYKcmyk(45.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(45.09, 40.25, -59.30)
CIE-LCHlch(45.09, 71.67, 304.17°)
OKLaboklab(54.35% 0.058 -0.1693)
OKLCHoklch(54.35% 0.179 288.9)
XYZxyz(21.2692, 14.6045, 60.7177)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056CF #B5CF56
analogous
#5678CF #7056CF #AD56CF
triadic
#7056CF #CF7056 #56CF70
tetradic
#7056CF #CF5678 #B5CF56 #56CFAD
square
#7056CF #CF5678 #B5CF56 #56CFAD
split-complementary
#7056CF #CFAD56 #78CF56
monochromatic
#3A2685 #4F33B5 #7056CF #9886DD #C1B5EA

Accessibility & contrast

On white

5.36
#7056CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7056CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056CF#FFFFFF#000000##FFFFFF
##7056CF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#52718A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7056cf;
/* rgb */ color: rgb(112, 86, 207);
/* oklch */ color: oklch(54.3% 0.179 288.9);
Tailwind
colors: {
  custom: {
    50: '#9f86de',
    500: '#7056cf',
    950: '#000000',
  },
}
SCSS
$custom: #7056cf;
$custom-light: #9f86de;
$custom-dark: #000000;
JSON
{
  "hex": "#7056cf",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 252.893,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.17894,
    "h": 288.9
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#7056CF
secondary
#CED9A8
accent
#DF49BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7056CF

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

Preview Lab → · Contrast checker → · Palette generator →

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