#8056CC#8056CC

#8056CC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.176 H 296.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8056CC
RGBrgb(128, 86, 204)
HSLhsl(261, 54%, 57%)
HSVhsv(261, 58%, 80%)
CMYKcmyk(37.3%, 57.8%, 0%, 20%)
CIE-LABlab(46.45, 42.96, -55.29)
CIE-LCHlch(46.45, 70.02, 307.85°)
OKLaboklab(55.65% 0.079 -0.157)
OKLCHoklch(55.65% 0.176 296.7)
XYZxyz(23.1262, 15.6040, 58.9085)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056CC #A2CC56
analogous
#5667CC #8056CC #BB56CC
triadic
#8056CC #CC8056 #56CC80
tetradic
#8056CC #CC5667 #A2CC56 #56CCBB
square
#8056CC #CC5667 #A2CC56 #56CCBB
split-complementary
#8056CC #CCBB56 #67CC56
monochromatic
#472781 #6135B0 #8056CC #A385DA #C7B4E8

Accessibility & contrast

On white

5.10
#8056CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8056CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056CC#FFFFFF#000000##FFFFFF
##8056CC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#6E6F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8056cc;
/* rgb */ color: rgb(128, 86, 204);
/* oklch */ color: oklch(55.7% 0.176 296.7);
Tailwind
colors: {
  custom: {
    50: '#a987dc',
    500: '#8056cc',
    950: '#000000',
  },
}
SCSS
$custom: #8056cc;
$custom-light: #a987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8056cc",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 261.356,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.17575,
    "h": 296.7
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#8056CC
secondary
#C6D7A7
accent
#DD4BA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8056CC

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

Preview Lab → · Contrast checker → · Palette generator →

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