#7056CA#7056CA

#7056CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.172 H 289.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7056CA
RGBrgb(112, 86, 202)
HSLhsl(253, 52%, 56%)
HSVhsv(253, 57%, 79%)
CMYKcmyk(44.6%, 57.4%, 0%, 20.8%)
CIE-LABlab(44.75, 38.81, -56.96)
CIE-LCHlch(44.75, 68.93, 304.27°)
OKLaboklab(53.99% 0.0581 -0.1624)
OKLCHoklch(53.99% 0.173 289.7)
XYZxyz(20.6676, 14.3638, 57.5492)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056CA #B0CA56
analogous
#5676CA #7056CA #AA56CA
triadic
#7056CA #CA7056 #56CA70
tetradic
#7056CA #CA5676 #B0CA56 #56CAAA
square
#7056CA #CA5676 #B0CA56 #56CAAA
split-complementary
#7056CA #CAAA56 #76CA56
monochromatic
#3B287E #5136AD #7056CA #9785D9 #BFB3E7

Accessibility & contrast

On white

5.42
#7056CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7056CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056CA#FFFFFF#000000##FFFFFF
##7056CA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056CCE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#557088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7056ca;
/* rgb */ color: rgb(112, 86, 202);
/* oklch */ color: oklch(54.0% 0.172 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f86db',
    500: '#7056ca',
    950: '#000000',
  },
}
SCSS
$custom: #7056ca;
$custom-light: #9f86db;
$custom-dark: #000000;
JSON
{
  "hex": "#7056ca",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 253.448,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.1725,
    "h": 289.7
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#7056CA
secondary
#CBD6A6
accent
#DC4CBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7056CA

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

Preview Lab → · Contrast checker → · Palette generator →

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