#8056EA#8056EA

#8056EA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.212 H 291.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8056EA
RGBrgb(128, 86, 234)
HSLhsl(257, 78%, 63%)
HSVhsv(257, 63%, 92%)
CMYKcmyk(45.3%, 63.2%, 0%, 8.2%)
CIE-LABlab(48.49, 51.02, -69.06)
CIE-LCHlch(48.49, 85.86, 306.45°)
OKLaboklab(57.79% 0.0774 -0.1975)
OKLCHoklch(57.79% 0.212 291.4)
XYZxyz(27.0770, 17.1844, 79.7162)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056EA #C0EA56
analogous
#5676EA #8056EA #CA56EA
triadic
#8056EA #EA8056 #56EA80
tetradic
#8056EA #EA5676 #C0EA56 #56EACA
square
#8056EA #EA5676 #C0EA56 #56EACA
split-complementary
#8056EA #EACA56 #76EA56
monochromatic
#4216B0 #5720E3 #8056EA #A98CF1 #D2C3F8

Accessibility & contrast

On white

4.73
#8056EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8056EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056EA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056EA#FFFFFF#000000##FFFFFF
##8056EA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#607998
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8056ea;
/* rgb */ color: rgb(128, 86, 234);
/* oklch */ color: oklch(57.8% 0.212 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac88f2',
    500: '#8056ea',
    950: '#000000',
  },
}
SCSS
$custom: #8056ea;
$custom-light: #ac88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ea",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 257.027,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.21212,
    "h": 291.4
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#8056EA
secondary
#D9E9B3
accent
#DA0B9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056EA

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

Preview Lab → · Contrast checker → · Palette generator →

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