#8057EC#8057EC

#8057EC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.213 H 290.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8057EC
RGBrgb(128, 87, 236)
HSLhsl(257, 80%, 63%)
HSVhsv(257, 63%, 93%)
CMYKcmyk(45.8%, 63.1%, 0%, 7.5%)
CIE-LABlab(48.84, 51.02, -69.63)
CIE-LCHlch(48.84, 86.32, 306.23°)
OKLaboklab(58.08% 0.0761 -0.1992)
OKLCHoklch(58.08% 0.213 290.9)
XYZxyz(27.4464, 17.4607, 81.2647)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057EC #C3EC57
analogous
#5778EC #8057EC #CA57EC
triadic
#8057EC #EC8057 #57EC80
tetradic
#8057EC #EC5778 #C3EC57 #57ECCA
square
#8057EC #EC5778 #C3EC57 #57ECCA
split-complementary
#8057EC #ECCA57 #78EC57
monochromatic
#4014B4 #5620E6 #8057EC #AA8EF2 #D3C5F8

Accessibility & contrast

On white

4.67
#8057EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8057EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057EC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057EC#FFFFFF#000000##FFFFFF
##8057EC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#5F7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8057ec;
/* rgb */ color: rgb(128, 87, 236);
/* oklch */ color: oklch(58.1% 0.213 290.9);
Tailwind
colors: {
  custom: {
    50: '#ac88f3',
    500: '#8057ec',
    950: '#000000',
  },
}
SCSS
$custom: #8057ec;
$custom-light: #ac88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ec",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 256.51,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.21324,
    "h": 290.9
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#8057EC
secondary
#DBEAB5
accent
#DC0AA2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057EC

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

Preview Lab → · Contrast checker → · Palette generator →

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