#7056BF#7056BF

#7056BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.2% C 0.158 H 291.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7056BF
RGBrgb(112, 86, 191)
HSLhsl(255, 45%, 54%)
HSVhsv(255, 55%, 75%)
CMYKcmyk(41.4%, 55%, 0%, 25.1%)
CIE-LABlab(44.03, 35.68, -51.75)
CIE-LCHlch(44.03, 62.86, 304.59°)
OKLaboklab(53.23% 0.058 -0.1471)
OKLCHoklch(53.23% 0.158 291.5)
XYZxyz(19.4113, 13.8613, 50.9329)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056BF #A5BF56
analogous
#5671BF #7056BF #A556BF
triadic
#7056BF #BF7056 #56BF70
tetradic
#7056BF #BF5671 #A5BF56 #56BFA5
square
#7056BF #BF5671 #A5BF56 #56BFA5
split-complementary
#7056BF #BFA556 #71BF56
monochromatic
#3C2A70 #533B9D #7056BF #9682D0 #BBAFE1

Accessibility & contrast

On white

5.57
#7056BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7056BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056BF#FFFFFF#000000##FFFFFF
##7056BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#5A6C82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7056bf;
/* rgb */ color: rgb(112, 86, 191);
/* oklch */ color: oklch(53.2% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#9e86d3',
    500: '#7056bf',
    950: '#000000',
  },
}
SCSS
$custom: #7056bf;
$custom-light: #9e86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7056bf",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 254.857,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.1581,
    "h": 291.5
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#7056BF
secondary
#C4CFA2
accent
#D553B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7056BF

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

Preview Lab → · Contrast checker → · Palette generator →

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