#8057EF#8057EF

#8057EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.217 H 290.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8057EF
RGBrgb(128, 87, 239)
HSLhsl(256, 83%, 64%)
HSVhsv(256, 64%, 94%)
CMYKcmyk(46.4%, 63.6%, 0%, 6.3%)
CIE-LABlab(49.05, 51.84, -70.96)
CIE-LCHlch(49.05, 87.88, 306.15°)
OKLaboklab(58.31% 0.0759 -0.2031)
OKLCHoklch(58.31% 0.217 290.5)
XYZxyz(27.8859, 17.6365, 83.5795)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057EF #C6EF57
analogous
#577AEF #8057EF #CC57EF
triadic
#8057EF #EF8057 #57EF80
tetradic
#8057EF #EF577A #C6EF57 #57EFCC
square
#8057EF #EF577A #C6EF57 #57EFCC
split-complementary
#8057EF #EFCC57 #7AEF57
monochromatic
#3F12BA #561FEA #8057EF #AA8FF4 #D4C7FA

Accessibility & contrast

On white

4.64
#8057EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8057EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8057EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057EF#FFFFFF#000000##FFFFFF
##8057EF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#5D7B9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8057ef;
/* rgb */ color: rgb(128, 87, 239);
/* oklch */ color: oklch(58.3% 0.217 290.5);
Tailwind
colors: {
  custom: {
    50: '#ad89f5',
    500: '#8057ef',
    950: '#000000',
  },
}
SCSS
$custom: #8057ef;
$custom-light: #ad89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ef",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 256.184,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.2168,
    "h": 290.5
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#8057EF
secondary
#DDECB6
accent
#DF06A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057EF

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

Preview Lab → · Contrast checker → · Palette generator →

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