#8056E1#8056E1

#8056E1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.201 H 292.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8056E1
RGBrgb(128, 86, 225)
HSLhsl(258, 70%, 61%)
HSVhsv(258, 62%, 88%)
CMYKcmyk(43.1%, 61.8%, 0%, 11.8%)
CIE-LABlab(47.85, 48.58, -65.01)
CIE-LCHlch(47.85, 81.16, 306.77°)
OKLaboklab(57.12% 0.0781 -0.1856)
OKLCHoklch(57.12% 0.201 292.8)
XYZxyz(25.8168, 16.6803, 73.0789)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056E1 #B7E156
analogous
#5671E1 #8056E1 #C556E1
triadic
#8056E1 #E18056 #56E180
tetradic
#8056E1 #E15671 #B7E156 #56E1C5
square
#8056E1 #E15671 #B7E156 #56E1C5
split-complementary
#8056E1 #E1C556 #71E156
monochromatic
#441CA0 #5A26D4 #8056E1 #A78AEA #CEBEF3

Accessibility & contrast

On white

4.84
#8056E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8056E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056E1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056E1#FFFFFF#000000##FFFFFF
##8056E11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#657694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8056e1;
/* rgb */ color: rgb(128, 86, 225);
/* oklch */ color: oklch(57.1% 0.201 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab88eb',
    500: '#8056e1',
    950: '#000000',
  },
}
SCSS
$custom: #8056e1;
$custom-light: #ab88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8056e1",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 258.129,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.20136,
    "h": 292.8
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#8056E1
secondary
#D4E4AF
accent
#D21498
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8056E1

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

Preview Lab → · Contrast checker → · Palette generator →

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