#8057EE#8057EE

#8057EE is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.216 H 290.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8057EE
RGBrgb(128, 87, 238)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.98, 51.57, -70.52)
CIE-LCHlch(48.98, 87.36, 306.18°)
OKLaboklab(58.23% 0.076 -0.2018)
OKLCHoklch(58.23% 0.216 290.6)
XYZxyz(27.7385, 17.5776, 82.8036)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057EE #C5EE57
analogous
#5779EE #8057EE #CB57EE
triadic
#8057EE #EE8057 #57EE80
tetradic
#8057EE #EE5779 #C5EE57 #57EECB
square
#8057EE #EE5779 #C5EE57 #57EECB
split-complementary
#8057EE #EECB57 #79EE57
monochromatic
#4013B8 #561FE8 #8057EE #AA8FF4 #D4C6F9

Accessibility & contrast

On white

4.65
#8057EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8057EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8057EE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057EE#FFFFFF#000000##FFFFFF
##8057EE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#5E7B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8057ee;
/* rgb */ color: rgb(128, 87, 238);
/* oklch */ color: oklch(58.2% 0.216 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad88f4',
    500: '#8057ee',
    950: '#000000',
  },
}
SCSS
$custom: #8057ee;
$custom-light: #ad88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ee",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 256.291,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.21562,
    "h": 290.6
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#8057EE
secondary
#DDEBB6
accent
#DE08A4
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057EE

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

Preview Lab → · Contrast checker → · Palette generator →

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