#8057E5#8057E5

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

Color values

HEX#8057E5
RGBrgb(128, 87, 229)
HSLhsl(257, 73%, 62%)
HSVhsv(257, 62%, 90%)
CMYKcmyk(44.1%, 62%, 0%, 10.2%)
CIE-LABlab(48.34, 49.11, -66.49)
CIE-LCHlch(48.34, 82.67, 306.45°)
OKLaboklab(57.56% 0.0767 -0.1899)
OKLCHoklch(57.56% 0.205 292)
XYZxyz(26.4492, 17.0619, 76.0132)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E5 #BCE557
analogous
#5775E5 #8057E5 #C757E5
triadic
#8057E5 #E58057 #57E580
tetradic
#8057E5 #E55775 #BCE557 #57E5C7
square
#8057E5 #E55775 #BCE557 #57E5C7
split-complementary
#8057E5 #E5C757 #75E557
monochromatic
#431AA8 #5822DD #8057E5 #A88CED #D0C1F5

Accessibility & contrast

On white

4.76
#8057E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8057E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E5#FFFFFF#000000##FFFFFF
##8057E51.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)
#0075EA
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#637896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8057e5;
/* rgb */ color: rgb(128, 87, 229);
/* oklch */ color: oklch(57.6% 0.205 292.0);
Tailwind
colors: {
  custom: {
    50: '#ac88ee',
    500: '#8057e5',
    950: '#000000',
  },
}
SCSS
$custom: #8057e5;
$custom-light: #ac88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e5",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 257.324,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.20486,
    "h": 292
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#8057E5
secondary
#D7E6B2
accent
#D5109C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057E5

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

Preview Lab → · Contrast checker → · Palette generator →

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