#8056DA#8056DA

#8056DA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.193 H 294.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8056DA
RGBrgb(128, 86, 218)
HSLhsl(259, 64%, 60%)
HSVhsv(259, 61%, 85%)
CMYKcmyk(41.3%, 60.6%, 0%, 14.5%)
CIE-LABlab(47.37, 46.69, -61.82)
CIE-LCHlch(47.37, 77.47, 307.06°)
OKLaboklab(56.62% 0.0785 -0.1762)
OKLCHoklch(56.62% 0.193 294)
XYZxyz(24.8814, 16.3061, 68.1525)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056DA #B0DA56
analogous
#566EDA #8056DA #C256DA
triadic
#8056DA #DA8056 #56DA80
tetradic
#8056DA #DA566E #B0DA56 #56DAC2
square
#8056DA #DA566E #B0DA56 #56DAC2
split-complementary
#8056DA #DAC256 #6EDA56
monochromatic
#462195 #5D2CC7 #8056DA #A688E5 #CBBAF0

Accessibility & contrast

On white

4.93
#8056DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8056DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056DA#FFFFFF#000000##FFFFFF
##8056DA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#687490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8056da;
/* rgb */ color: rgb(128, 86, 218);
/* oklch */ color: oklch(56.6% 0.193 294.0);
Tailwind
colors: {
  custom: {
    50: '#ab87e6',
    500: '#8056da',
    950: '#000000',
  },
}
SCSS
$custom: #8056da;
$custom-light: #ab87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8056da",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 259.091,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.1929,
    "h": 294
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#8056DA
secondary
#CFE0AC
accent
#E741B2
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8056DA

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

Preview Lab → · Contrast checker → · Palette generator →

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