#7056BC#7056BC

#7056BC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.0% C 0.154 H 292.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7056BC
RGBrgb(112, 86, 188)
HSLhsl(255, 43%, 54%)
HSVhsv(255, 54%, 74%)
CMYKcmyk(40.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(43.84, 34.84, -50.31)
CIE-LCHlch(43.84, 61.19, 304.70°)
OKLaboklab(53.03% 0.0579 -0.1428)
OKLCHoklch(53.03% 0.154 292.1)
XYZxyz(19.0845, 13.7306, 49.2120)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056BC #A2BC56
analogous
#566FBC #7056BC #A356BC
triadic
#7056BC #BC7056 #56BC70
tetradic
#7056BC #BC566F #A2BC56 #56BCA3
square
#7056BC #BC566F #A2BC56 #56BCA3
split-complementary
#7056BC #BCA356 #6FBC56
monochromatic
#3C2B6D #543C98 #7056BC #9582CD #BAAEDF

Accessibility & contrast

On white

5.61
#7056BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7056BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056BC#FFFFFF#000000##FFFFFF
##7056BC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#5C6B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7056bc;
/* rgb */ color: rgb(112, 86, 188);
/* oklch */ color: oklch(53.0% 0.154 292.1);
Tailwind
colors: {
  custom: {
    50: '#9d86d1',
    500: '#7056bc',
    950: '#000000',
  },
}
SCSS
$custom: #7056bc;
$custom-light: #9d86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7056bc",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 255.294,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.15413,
    "h": 292.1
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#7056BC
secondary
#C2CDA1
accent
#D355B3
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7056BC

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

Preview Lab → · Contrast checker → · Palette generator →

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