#8056EE#8056EE

#8056EE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.217 H 290.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8056EE
RGBrgb(128, 86, 238)
HSLhsl(257, 82%, 64%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(46.2%, 63.9%, 0%, 6.7%)
CIE-LABlab(48.78, 52.10, -70.84)
CIE-LCHlch(48.78, 87.94, 306.33°)
OKLaboklab(58.09% 0.077 -0.2027)
OKLCHoklch(58.09% 0.217 290.8)
XYZxyz(27.6581, 17.4168, 82.7768)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056EE #C4EE56
analogous
#5678EE #8056EE #CC56EE
triadic
#8056EE #EE8056 #56EE80
tetradic
#8056EE #EE5678 #C4EE56 #56EECC
square
#8056EE #EE5678 #C4EE56 #56EECC
split-complementary
#8056EE #EECC56 #78EE56
monochromatic
#4012B7 #561EE8 #8056EE #AA8EF4 #D4C5F9

Accessibility & contrast

On white

4.68
#8056EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8056EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056EE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056EE#FFFFFF#000000##FFFFFF
##8056EE1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#5E7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8056ee;
/* rgb */ color: rgb(128, 86, 238);
/* oklch */ color: oklch(58.1% 0.217 290.8);
Tailwind
colors: {
  custom: {
    50: '#ad88f5',
    500: '#8056ee',
    950: '#000000',
  },
}
SCSS
$custom: #8056ee;
$custom-light: #ad88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ee",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 256.579,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.21686,
    "h": 290.8
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#8056EE
secondary
#DCEBB5
accent
#DE07A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056EE

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

Preview Lab → · Contrast checker → · Palette generator →

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