#8056E6#8056E6

#8056E6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.207 H 292.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8056E6
RGBrgb(128, 86, 230)
HSLhsl(258, 74%, 62%)
HSVhsv(258, 63%, 90%)
CMYKcmyk(44.3%, 62.6%, 0%, 9.8%)
CIE-LABlab(48.21, 49.93, -67.27)
CIE-LCHlch(48.21, 83.78, 306.58°)
OKLaboklab(57.49% 0.0777 -0.1922)
OKLCHoklch(57.49% 0.207 292)
XYZxyz(26.5089, 16.9571, 76.7239)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056E6 #BCE656
analogous
#5674E6 #8056E6 #C856E6
triadic
#8056E6 #E68056 #56E680
tetradic
#8056E6 #E65674 #BCE656 #56E6C8
square
#8056E6 #E65674 #BCE656 #56E6C8
split-complementary
#8056E6 #E6C856 #74E656
monochromatic
#4319A9 #5821DE #8056E6 #A88BEE #D0C1F6

Accessibility & contrast

On white

4.78
#8056E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8056E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056E6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056E6#FFFFFF#000000##FFFFFF
##8056E61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#627896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8056e6;
/* rgb */ color: rgb(128, 86, 230);
/* oklch */ color: oklch(57.5% 0.207 292.0);
Tailwind
colors: {
  custom: {
    50: '#ac88ef',
    500: '#8056e6',
    950: '#000000',
  },
}
SCSS
$custom: #8056e6;
$custom-light: #ac88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8056e6",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 257.5,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.20735,
    "h": 292
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#8056E6
secondary
#D7E6B1
accent
#D60F9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056E6

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

Preview Lab → · Contrast checker → · Palette generator →

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