#8057E1#8057E1

#8057E1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.200 H 292.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8057E1
RGBrgb(128, 87, 225)
HSLhsl(258, 70%, 61%)
HSVhsv(258, 61%, 88%)
CMYKcmyk(43.1%, 61.3%, 0%, 11.8%)
CIE-LABlab(48.06, 48.03, -64.68)
CIE-LCHlch(48.06, 80.56, 306.60°)
OKLaboklab(57.27% 0.077 -0.1846)
OKLCHoklch(57.27% 0.2 292.6)
XYZxyz(25.8972, 16.8411, 73.1057)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E1 #B8E157
analogous
#5773E1 #8057E1 #C557E1
triadic
#8057E1 #E18057 #57E180
tetradic
#8057E1 #E15773 #B8E157 #57E1C5
square
#8057E1 #E15773 #B8E157 #57E1C5
split-complementary
#8057E1 #E1C557 #73E157
monochromatic
#441DA1 #5A26D5 #8057E1 #A78BEA #CFBFF4

Accessibility & contrast

On white

4.81
#8057E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8057E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E1#FFFFFF#000000##FFFFFF
##8057E11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#657794
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8057e1;
/* rgb */ color: rgb(128, 87, 225);
/* oklch */ color: oklch(57.3% 0.200 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab88eb',
    500: '#8057e1',
    950: '#000000',
  },
}
SCSS
$custom: #8057e1;
$custom-light: #ab88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e1",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 257.826,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.20005,
    "h": 292.6
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#8057E1
secondary
#D4E4B0
accent
#D21499
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057E1

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

Preview Lab → · Contrast checker → · Palette generator →

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