#8056CF#8056CF

#8056CF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.179 H 296.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8056CF
RGBrgb(128, 86, 207)
HSLhsl(261, 56%, 57%)
HSVhsv(261, 58%, 81%)
CMYKcmyk(38.2%, 58.5%, 0%, 18.8%)
CIE-LABlab(46.64, 43.76, -56.71)
CIE-LCHlch(46.64, 71.63, 307.65°)
OKLaboklab(55.86% 0.0789 -0.1612)
OKLCHoklch(55.86% 0.179 296.1)
XYZxyz(23.4895, 15.7493, 60.8217)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056CF #A5CF56
analogous
#5669CF #8056CF #BC56CF
triadic
#8056CF #CF8056 #56CF80
tetradic
#8056CF #CF5669 #A5CF56 #56CFBC
square
#8056CF #CF5669 #A5CF56 #56CFBC
split-complementary
#8056CF #CFBC56 #69CF56
monochromatic
#472685 #6033B5 #8056CF #A486DD #C8B5EA

Accessibility & contrast

On white

5.06
#8056CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8056CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056CF#FFFFFF#000000##FFFFFF
##8056CF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6FD3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#6D708A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8056cf;
/* rgb */ color: rgb(128, 86, 207);
/* oklch */ color: oklch(55.9% 0.179 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa87de',
    500: '#8056cf',
    950: '#000000',
  },
}
SCSS
$custom: #8056cf;
$custom-light: #aa87de;
$custom-dark: #000000;
JSON
{
  "hex": "#8056cf",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 260.826,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.17945,
    "h": 296.1
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#8056CF
secondary
#C8D9A8
accent
#DF49AB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8056CF

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

Preview Lab → · Contrast checker → · Palette generator →

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