#8056BD#8056BD

#8056BD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.157 H 300.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8056BD
RGBrgb(128, 86, 189)
HSLhsl(264, 44%, 54%)
HSVhsv(264, 54%, 74%)
CMYKcmyk(32.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(45.52, 39.06, -48.11)
CIE-LCHlch(45.52, 61.97, 309.07°)
OKLaboklab(54.67% 0.0787 -0.1359)
OKLCHoklch(54.67% 0.157 300.1)
XYZxyz(21.4130, 14.9188, 49.8857)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056BD #93BD56
analogous
#5660BD #8056BD #B456BD
triadic
#8056BD #BD8056 #56BD80
tetradic
#8056BD #BD5660 #93BD56 #56BDB4
square
#8056BD #BD5660 #93BD56 #56BDB4
split-complementary
#8056BD #BDB456 #60BD56
monochromatic
#462B6E #623C9A #8056BD #A182CE #C2AEDF

Accessibility & contrast

On white

5.27
#8056BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8056BD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056BD#FFFFFF#000000##FFFFFF
##8056BD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#736A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8056bd;
/* rgb */ color: rgb(128, 86, 189);
/* oklch */ color: oklch(54.7% 0.157 300.1);
Tailwind
colors: {
  custom: {
    50: '#a887d1',
    500: '#8056bd',
    950: '#000000',
  },
}
SCSS
$custom: #8056bd;
$custom-light: #a887d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8056bd",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 264.466,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.15706,
    "h": 300.1
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8056BD

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

Preview Lab → · Contrast checker → · Palette generator →

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