#8057D8#8057D8

#8057D8 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.189 H 294.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8057D8
RGBrgb(128, 87, 216)
HSLhsl(259, 62%, 59%)
HSVhsv(259, 60%, 85%)
CMYKcmyk(40.7%, 59.7%, 0%, 15.3%)
CIE-LABlab(47.45, 45.60, -60.56)
CIE-LCHlch(47.45, 75.81, 306.98°)
OKLaboklab(56.63% 0.0775 -0.1725)
OKLCHoklch(56.63% 0.189 294.2)
XYZxyz(24.7016, 16.3629, 66.8093)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057D8 #AFD857
analogous
#576FD8 #8057D8 #C157D8
triadic
#8057D8 #D88057 #57D880
tetradic
#8057D8 #D8576F #AFD857 #57D8C1
square
#8057D8 #D8576F #AFD857 #57D8C1
split-complementary
#8057D8 #D8C157 #6FD857
monochromatic
#462293 #5D2EC4 #8057D8 #A689E4 #CBBAEF

Accessibility & contrast

On white

4.92
#8057D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8057D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057D8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057D8#FFFFFF#000000##FFFFFF
##8057D81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0F6ED5
Tritanopia (blue-blind)
#69748F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057d8;
/* rgb */ color: rgb(128, 87, 216);
/* oklch */ color: oklch(56.6% 0.189 294.2);
Tailwind
colors: {
  custom: {
    50: '#aa88e5',
    500: '#8057d8',
    950: '#000000',
  },
}
SCSS
$custom: #8057d8;
$custom-light: #aa88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8057d8",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 259.07,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.1891,
    "h": 294.2
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#8057D8
secondary
#CFDFAC
accent
#E542B2
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8057D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva