#8057DC#8057DC

#8057DC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.194 H 293.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8057DC
RGBrgb(128, 87, 220)
HSLhsl(258, 66%, 60%)
HSVhsv(258, 60%, 86%)
CMYKcmyk(41.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(47.72, 46.68, -62.40)
CIE-LCHlch(47.72, 77.93, 306.80°)
OKLaboklab(56.91% 0.0773 -0.1779)
OKLCHoklch(56.91% 0.194 293.5)
XYZxyz(25.2251, 16.5722, 69.5660)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DC #B3DC57
analogous
#5771DC #8057DC #C257DC
triadic
#8057DC #DC8057 #57DC80
tetradic
#8057DC #DC5771 #B3DC57 #57DCC2
square
#8057DC #DC5771 #B3DC57 #57DCC2
split-complementary
#8057DC #DCC257 #71DC57
monochromatic
#452099 #5C2ACB #8057DC #A68AE7 #CDBCF1

Accessibility & contrast

On white

4.87
#8057DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8057DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DC#FFFFFF#000000##FFFFFF
##8057DC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#677591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057dc;
/* rgb */ color: rgb(128, 87, 220);
/* oklch */ color: oklch(56.9% 0.194 293.5);
Tailwind
colors: {
  custom: {
    50: '#ab88e8',
    500: '#8057dc',
    950: '#000000',
  },
}
SCSS
$custom: #8057dc;
$custom-light: #ab88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8057dc",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 258.496,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.19399,
    "h": 293.5
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#8057DC
secondary
#D1E1AE
accent
#CD1895
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DC

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

Preview Lab → · Contrast checker → · Palette generator →

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