#8056EF#8056EF

#8056EF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.218 H 290.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8056EF
RGBrgb(128, 86, 239)
HSLhsl(256, 83%, 64%)
HSVhsv(256, 64%, 94%)
CMYKcmyk(46.4%, 64%, 0%, 6.3%)
CIE-LABlab(48.85, 52.38, -71.29)
CIE-LCHlch(48.85, 88.46, 306.31°)
OKLaboklab(58.16% 0.0769 -0.204)
OKLCHoklch(58.16% 0.218 290.6)
XYZxyz(27.8055, 17.4757, 83.5527)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056EF #C5EF56
analogous
#5678EF #8056EF #CD56EF
triadic
#8056EF #EF8056 #56EF80
tetradic
#8056EF #EF5678 #C5EF56 #56EFCD
square
#8056EF #EF5678 #C5EF56 #56EFCD
split-complementary
#8056EF #EFCD56 #78EF56
monochromatic
#4012B9 #561EEA #8056EF #AA8EF4 #D4C6FA

Accessibility & contrast

On white

4.67
#8056EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8056EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8056EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056EF#FFFFFF#000000##FFFFFF
##8056EF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#5D7B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8056ef;
/* rgb */ color: rgb(128, 86, 239);
/* oklch */ color: oklch(58.2% 0.218 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad88f5',
    500: '#8056ef',
    950: '#000000',
  },
}
SCSS
$custom: #8056ef;
$custom-light: #ad88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ef",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 256.471,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.21804,
    "h": 290.6
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#8056EF
secondary
#DDEBB5
accent
#DF06A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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