#8056ED#8056ED

#8056ED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.216 H 290.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8056ED
RGBrgb(128, 86, 237)
HSLhsl(257, 81%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(46%, 63.7%, 0%, 7.1%)
CIE-LABlab(48.71, 51.83, -70.40)
CIE-LCHlch(48.71, 87.42, 306.36°)
OKLaboklab(58.01% 0.0771 -0.2014)
OKLCHoklch(58.01% 0.216 290.9)
XYZxyz(27.5116, 17.3582, 82.0052)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056ED #C3ED56
analogous
#5677ED #8056ED #CC56ED
triadic
#8056ED #ED8056 #56ED80
tetradic
#8056ED #ED5677 #C3ED56 #56EDCC
square
#8056ED #ED5677 #C3ED56 #56EDCC
split-complementary
#8056ED #EDCC56 #77ED56
monochromatic
#4013B5 #561FE7 #8056ED #AA8DF3 #D3C5F9

Accessibility & contrast

On white

4.70
#8056ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8056ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056ED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056ED#FFFFFF#000000##FFFFFF
##8056ED1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#5E7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8056ed;
/* rgb */ color: rgb(128, 86, 237);
/* oklch */ color: oklch(58.0% 0.216 290.9);
Tailwind
colors: {
  custom: {
    50: '#ad88f4',
    500: '#8056ed',
    950: '#000000',
  },
}
SCSS
$custom: #8056ed;
$custom-light: #ad88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8056ed",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 256.689,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.21568,
    "h": 290.9
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8056ED

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

Preview Lab → · Contrast checker → · Palette generator →

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