#8056EC#8056EC

#8056EC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.214 H 291.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8056EC
RGBrgb(128, 86, 236)
HSLhsl(257, 80%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.8%, 63.6%, 0%, 7.5%)
CIE-LABlab(48.64, 51.56, -69.96)
CIE-LCHlch(48.64, 86.90, 306.39°)
OKLaboklab(57.94% 0.0772 -0.2001)
OKLCHoklch(57.94% 0.214 291.1)
XYZxyz(27.3660, 17.2999, 81.2379)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056EC #C2EC56
analogous
#5677EC #8056EC #CB56EC
triadic
#8056EC #EC8056 #56EC80
tetradic
#8056EC #EC5677 #C2EC56 #56ECCB
square
#8056EC #EC5677 #C2EC56 #56ECCB
split-complementary
#8056EC #ECCB56 #77EC56
monochromatic
#4114B3 #571FE6 #8056EC #A98DF2 #D3C4F8

Accessibility & contrast

On white

4.71
#8056EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8056EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056EC#FFFFFF#000000##FFFFFF
##8056EC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#5F7A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8056ec;
/* rgb */ color: rgb(128, 86, 236);
/* oklch */ color: oklch(57.9% 0.214 291.1);
Tailwind
colors: {
  custom: {
    50: '#ad88f3',
    500: '#8056ec',
    950: '#000000',
  },
}
SCSS
$custom: #8056ec;
$custom-light: #ad88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ec",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 256.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.21449,
    "h": 291.1
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#8056EC
secondary
#DBEAB4
accent
#DC09A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056EC

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

Preview Lab → · Contrast checker → · Palette generator →

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