#8056C8#8056C8

#8056C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.171 H 297.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8056C8
RGBrgb(128, 86, 200)
HSLhsl(262, 51%, 56%)
HSVhsv(262, 57%, 78%)
CMYKcmyk(36%, 57%, 0%, 21.6%)
CIE-LABlab(46.20, 41.91, -53.40)
CIE-LCHlch(46.20, 67.88, 308.13°)
OKLaboklab(55.38% 0.079 -0.1514)
OKLCHoklch(55.38% 0.171 297.5)
XYZxyz(22.6526, 15.4146, 56.4142)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056C8 #9EC856
analogous
#5665C8 #8056C8 #B956C8
triadic
#8056C8 #C88056 #56C880
tetradic
#8056C8 #C85665 #9EC856 #56C8B9
square
#8056C8 #C85665 #9EC856 #56C8B9
split-complementary
#8056C8 #C8B956 #65C856
monochromatic
#47287B #6137AA #8056C8 #A384D7 #C5B2E6

Accessibility & contrast

On white

5.14
#8056C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8056C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056C8#FFFFFF#000000##FFFFFF
##8056C81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#706E87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8056c8;
/* rgb */ color: rgb(128, 86, 200);
/* oklch */ color: oklch(55.4% 0.171 297.5);
Tailwind
colors: {
  custom: {
    50: '#a987d9',
    500: '#8056c8',
    950: '#000000',
  },
}
SCSS
$custom: #8056c8;
$custom-light: #a987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8056c8",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 262.105,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.1708,
    "h": 297.5
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#8056C8
secondary
#C3D4A5
accent
#DA4DA6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8056C8

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

Preview Lab → · Contrast checker → · Palette generator →

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