#8056CD#8056CD

#8056CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.177 H 296.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8056CD
RGBrgb(128, 86, 205)
HSLhsl(261, 54%, 57%)
HSVhsv(261, 58%, 80%)
CMYKcmyk(37.6%, 58%, 0%, 19.6%)
CIE-LABlab(46.51, 43.23, -55.77)
CIE-LCHlch(46.51, 70.56, 307.78°)
OKLaboklab(55.72% 0.0789 -0.1584)
OKLCHoklch(55.72% 0.177 296.5)
XYZxyz(23.2465, 15.6522, 59.5422)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056CD #A3CD56
analogous
#5668CD #8056CD #BB56CD
triadic
#8056CD #CD8056 #56CD80
tetradic
#8056CD #CD5668 #A3CD56 #56CDBB
square
#8056CD #CD5668 #A3CD56 #56CDBB
split-complementary
#8056CD #CDBB56 #68CD56
monochromatic
#472682 #6134B1 #8056CD #A385DB #C7B4E9

Accessibility & contrast

On white

5.08
#8056CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8056CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056CD#FFFFFF#000000##FFFFFF
##8056CD1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#6E6F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8056cd;
/* rgb */ color: rgb(128, 86, 205);
/* oklch */ color: oklch(55.7% 0.177 296.5);
Tailwind
colors: {
  custom: {
    50: '#a987dd',
    500: '#8056cd',
    950: '#000000',
  },
}
SCSS
$custom: #8056cd;
$custom-light: #a987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8056cd",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 261.176,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.17699,
    "h": 296.5
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#8056CD
secondary
#C7D8A7
accent
#DE4AAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8056CD

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

Preview Lab → · Contrast checker → · Palette generator →

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