#8056E7#8056E7

#8056E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.209 H 291.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8056E7
RGBrgb(128, 86, 231)
HSLhsl(257, 75%, 62%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(44.6%, 62.8%, 0%, 9.4%)
CIE-LABlab(48.28, 50.20, -67.72)
CIE-LCHlch(48.28, 84.30, 306.55°)
OKLaboklab(57.56% 0.0776 -0.1936)
OKLCHoklch(57.56% 0.209 291.9)
XYZxyz(26.6497, 17.0134, 77.4656)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056E7 #BDE756
analogous
#5675E7 #8056E7 #C856E7
triadic
#8056E7 #E78056 #56E780
tetradic
#8056E7 #E75675 #BDE756 #56E7C8
square
#8056E7 #E75675 #BDE756 #56E7C8
split-complementary
#8056E7 #E7C856 #75E756
monochromatic
#4318AA #5820DF #8056E7 #A88CEF #D1C1F6

Accessibility & contrast

On white

4.77
#8056E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8056E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056E7#FFFFFF#000000##FFFFFF
##8056E71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#627897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8056e7;
/* rgb */ color: rgb(128, 86, 231);
/* oklch */ color: oklch(57.6% 0.209 291.9);
Tailwind
colors: {
  custom: {
    50: '#ac88f0',
    500: '#8056e7',
    950: '#000000',
  },
}
SCSS
$custom: #8056e7;
$custom-light: #ac88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8056e7",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 257.379,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.20855,
    "h": 291.9
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#8056E7
secondary
#D8E7B2
accent
#D70E9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056E7

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

Preview Lab → · Contrast checker → · Palette generator →

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