#8057E8#8057E8

#8057E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.208 H 291.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8057E8
RGBrgb(128, 87, 232)
HSLhsl(257, 76%, 63%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(44.8%, 62.5%, 0%, 9%)
CIE-LABlab(48.55, 49.93, -67.84)
CIE-LCHlch(48.55, 84.24, 306.35°)
OKLaboklab(57.78% 0.0765 -0.1939)
OKLCHoklch(57.78% 0.208 291.5)
XYZxyz(26.8717, 17.2309, 78.2383)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E8 #BFE857
analogous
#5776E8 #8057E8 #C957E8
triadic
#8057E8 #E88057 #57E880
tetradic
#8057E8 #E85776 #BFE857 #57E8C9
square
#8057E8 #E85776 #BFE857 #57E8C9
split-complementary
#8057E8 #E8C957 #76E857
monochromatic
#4218AD #5721E1 #8057E8 #A98DEF #D1C3F7

Accessibility & contrast

On white

4.72
#8057E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8057E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E8#FFFFFF#000000##FFFFFF
##8057E81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#617998
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8057e8;
/* rgb */ color: rgb(128, 87, 232);
/* oklch */ color: oklch(57.8% 0.208 291.5);
Tailwind
colors: {
  custom: {
    50: '#ac88f0',
    500: '#8057e8',
    950: '#000000',
  },
}
SCSS
$custom: #8057e8;
$custom-light: #ac88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e8",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 256.966,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.20846,
    "h": 291.5
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#8057E8
secondary
#D9E8B3
accent
#D80D9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057E8

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

Preview Lab → · Contrast checker → · Palette generator →

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