#8056BB#8056BB

#8056BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.155 H 300.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8056BB
RGBrgb(128, 86, 187)
HSLhsl(265, 43%, 54%)
HSVhsv(265, 54%, 73%)
CMYKcmyk(31.6%, 54%, 0%, 26.7%)
CIE-LABlab(45.40, 38.54, -47.13)
CIE-LCHlch(45.40, 60.89, 309.27°)
OKLaboklab(54.55% 0.0786 -0.1331)
OKLCHoklch(54.55% 0.155 300.6)
XYZxyz(21.1974, 14.8325, 48.7503)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056BB #91BB56
analogous
#565EBB #8056BB #B256BB
triadic
#8056BB #BB8056 #56BB80
tetradic
#8056BB #BB565E #91BB56 #56BBB2
square
#8056BB #BB565E #91BB56 #56BBB2
split-complementary
#8056BB #BBB256 #5EBB56
monochromatic
#462B6B #623D97 #8056BB #A182CD #C2ADDE

Accessibility & contrast

On white

5.29
#8056BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8056BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056BB#FFFFFF#000000##FFFFFF
##8056BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#746A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8056bb;
/* rgb */ color: rgb(128, 86, 187);
/* oklch */ color: oklch(54.5% 0.155 300.6);
Tailwind
colors: {
  custom: {
    50: '#a887d0',
    500: '#8056bb',
    950: '#000000',
  },
}
SCSS
$custom: #8056bb;
$custom-light: #a887d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8056bb",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 264.95,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.15456,
    "h": 300.6
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#8056BB
secondary
#BACCA1
accent
#D2559E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8056BB

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

Preview Lab → · Contrast checker → · Palette generator →

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