#8057EB#8057EB

#8057EB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.212 H 291.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8057EB
RGBrgb(128, 87, 235)
HSLhsl(257, 79%, 63%)
HSVhsv(257, 63%, 92%)
CMYKcmyk(45.5%, 63%, 0%, 7.8%)
CIE-LABlab(48.76, 50.75, -69.19)
CIE-LCHlch(48.76, 85.80, 306.26°)
OKLaboklab(58.01% 0.0762 -0.1979)
OKLCHoklch(58.01% 0.212 291.1)
XYZxyz(27.3015, 17.4028, 80.5017)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057EB #C2EB57
analogous
#5778EB #8057EB #CA57EB
triadic
#8057EB #EB8057 #57EB80
tetradic
#8057EB #EB5778 #C2EB57 #57EBCA
square
#8057EB #EB5778 #C2EB57 #57EBCA
split-complementary
#8057EB #EBCA57 #78EB57
monochromatic
#4115B2 #5720E4 #8057EB #A98EF2 #D3C4F8

Accessibility & contrast

On white

4.69
#8057EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8057EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057EB#FFFFFF#000000##FFFFFF
##8057EB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5F7A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8057eb;
/* rgb */ color: rgb(128, 87, 235);
/* oklch */ color: oklch(58.0% 0.212 291.1);
Tailwind
colors: {
  custom: {
    50: '#ac88f2',
    500: '#8057eb',
    950: '#000000',
  },
}
SCSS
$custom: #8057eb;
$custom-light: #ac88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8057eb",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 256.622,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.21205,
    "h": 291.1
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#8057EB
secondary
#DBE9B4
accent
#DB0AA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057EB

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

Preview Lab → · Contrast checker → · Palette generator →

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