#8056E8#8056E8

#8056E8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.210 H 291.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8056E8
RGBrgb(128, 86, 232)
HSLhsl(257, 76%, 62%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(44.8%, 62.9%, 0%, 9%)
CIE-LABlab(48.35, 50.47, -68.17)
CIE-LCHlch(48.35, 84.82, 306.52°)
OKLaboklab(57.64% 0.0775 -0.1949)
OKLCHoklch(57.64% 0.21 291.7)
XYZxyz(26.7913, 17.0701, 78.2115)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056E8 #BEE856
analogous
#5675E8 #8056E8 #C956E8
triadic
#8056E8 #E88056 #56E880
tetradic
#8056E8 #E85675 #BEE856 #56E8C9
square
#8056E8 #E85675 #BEE856 #56E8C9
split-complementary
#8056E8 #E8C956 #75E856
monochromatic
#4217AC #5820E1 #8056E8 #A88CEF #D1C2F7

Accessibility & contrast

On white

4.76
#8056E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8056E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056E8#FFFFFF#000000##FFFFFF
##8056E81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#617897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8056e8;
/* rgb */ color: rgb(128, 86, 232);
/* oklch */ color: oklch(57.6% 0.210 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac88f0',
    500: '#8056e8',
    950: '#000000',
  },
}
SCSS
$custom: #8056e8;
$custom-light: #ac88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8056e8",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 257.26,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.20974,
    "h": 291.7
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#8056E8
secondary
#D8E8B2
accent
#D80D9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056E8

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

Preview Lab → · Contrast checker → · Palette generator →

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