#8056CE#8056CE

#8056CE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.178 H 296.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8056CE
RGBrgb(128, 86, 206)
HSLhsl(261, 55%, 57%)
HSVhsv(261, 58%, 81%)
CMYKcmyk(37.9%, 58.3%, 0%, 19.2%)
CIE-LABlab(46.58, 43.49, -56.24)
CIE-LCHlch(46.58, 71.09, 307.72°)
OKLaboklab(55.79% 0.0789 -0.1598)
OKLCHoklch(55.79% 0.178 296.3)
XYZxyz(23.3676, 15.7006, 60.1799)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056CE #A4CE56
analogous
#5668CE #8056CE #BC56CE
triadic
#8056CE #CE8056 #56CE80
tetradic
#8056CE #CE5668 #A4CE56 #56CEBC
square
#8056CE #CE5668 #A4CE56 #56CEBC
split-complementary
#8056CE #CEBC56 #68CE56
monochromatic
#472683 #6034B3 #8056CE #A485DC #C7B5EA

Accessibility & contrast

On white

5.07
#8056CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8056CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056CE#FFFFFF#000000##FFFFFF
##8056CE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD2
Deuteranopia (green-blind)
#256DCB
Tritanopia (blue-blind)
#6D708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8056ce;
/* rgb */ color: rgb(128, 86, 206);
/* oklch */ color: oklch(55.8% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#a987de',
    500: '#8056ce',
    950: '#000000',
  },
}
SCSS
$custom: #8056ce;
$custom-light: #a987de;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ce",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 261,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55787,
    "c": 0.17822,
    "h": 296.3
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#8056CE
secondary
#C7D8A8
accent
#DE49AA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8056CE

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

Preview Lab → · Contrast checker → · Palette generator →

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