#8056BC#8056BC

#8056BC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.156 H 300.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8056BC
RGBrgb(128, 86, 188)
HSLhsl(265, 43%, 54%)
HSVhsv(265, 54%, 74%)
CMYKcmyk(31.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(45.46, 38.80, -47.62)
CIE-LCHlch(45.46, 61.43, 309.17°)
OKLaboklab(54.61% 0.0787 -0.1345)
OKLCHoklch(54.61% 0.156 300.3)
XYZxyz(21.3048, 14.8755, 49.3160)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056BC #92BC56
analogous
#565FBC #8056BC #B356BC
triadic
#8056BC #BC8056 #56BC80
tetradic
#8056BC #BC565F #92BC56 #56BCB3
square
#8056BC #BC565F #92BC56 #56BCB3
split-complementary
#8056BC #BCB356 #5FBC56
monochromatic
#462B6D #623C98 #8056BC #A182CD #C2AEDF

Accessibility & contrast

On white

5.28
#8056BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8056BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056BC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056BC#FFFFFF#000000##FFFFFF
##8056BC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#746A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8056bc;
/* rgb */ color: rgb(128, 86, 188);
/* oklch */ color: oklch(54.6% 0.156 300.3);
Tailwind
colors: {
  custom: {
    50: '#a887d1',
    500: '#8056bc',
    950: '#000000',
  },
}
SCSS
$custom: #8056bc;
$custom-light: #a887d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8056bc",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 264.706,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.15582,
    "h": 300.3
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#8056BC
secondary
#BBCDA1
accent
#D3559F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8056BC

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

Preview Lab → · Contrast checker → · Palette generator →

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