#7056BB#7056BB

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

Color values

HEX#7056BB
RGBrgb(112, 86, 187)
HSLhsl(255, 43%, 54%)
HSVhsv(255, 54%, 73%)
CMYKcmyk(40.1%, 54%, 0%, 26.7%)
CIE-LABlab(43.78, 34.56, -49.82)
CIE-LCHlch(43.78, 60.63, 304.74°)
OKLaboklab(52.96% 0.0578 -0.1414)
OKLCHoklch(52.96% 0.153 292.2)
XYZxyz(18.9771, 13.6877, 48.6462)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056BB #A1BB56
analogous
#566EBB #7056BB #A256BB
triadic
#7056BB #BB7056 #56BB70
tetradic
#7056BB #BB566E #A1BB56 #56BBA2
square
#7056BB #BB566E #A1BB56 #56BBA2
split-complementary
#7056BB #BBA256 #6EBB56
monochromatic
#3C2B6B #543D97 #7056BB #9582CD #BAADDE

Accessibility & contrast

On white

5.62
#7056BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7056BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056BB#FFFFFF#000000##FFFFFF
##7056BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#5C6B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7056bb;
/* rgb */ color: rgb(112, 86, 187);
/* oklch */ color: oklch(53.0% 0.153 292.2);
Tailwind
colors: {
  custom: {
    50: '#9d86d0',
    500: '#7056bb',
    950: '#000000',
  },
}
SCSS
$custom: #7056bb;
$custom-light: #9d86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7056bb",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 255.446,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.15281,
    "h": 292.2
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#7056BB
secondary
#C1CCA1
accent
#D255B2
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7056BB

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

Preview Lab → · Contrast checker → · Palette generator →

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