#8057E4#8057E4

#8057E4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.204 H 292.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8057E4
RGBrgb(128, 87, 228)
HSLhsl(257, 72%, 62%)
HSVhsv(257, 62%, 89%)
CMYKcmyk(43.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(48.27, 48.84, -66.04)
CIE-LCHlch(48.27, 82.14, 306.49°)
OKLaboklab(57.49% 0.0768 -0.1886)
OKLCHoklch(57.49% 0.204 292.2)
XYZxyz(26.3100, 17.0062, 75.2800)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E4 #BBE457
analogous
#5775E4 #8057E4 #C757E4
triadic
#8057E4 #E48057 #57E480
tetradic
#8057E4 #E45775 #BBE457 #57E4C7
square
#8057E4 #E45775 #BBE457 #57E4C7
split-complementary
#8057E4 #E4C757 #75E457
monochromatic
#431BA6 #5923DB #8057E4 #A88CEC #D0C0F5

Accessibility & contrast

On white

4.77
#8057E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8057E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E4#FFFFFF#000000##FFFFFF
##8057E41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#637895
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8057e4;
/* rgb */ color: rgb(128, 87, 228);
/* oklch */ color: oklch(57.5% 0.204 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac88ed',
    500: '#8057e4',
    950: '#000000',
  },
}
SCSS
$custom: #8057e4;
$custom-light: #ac88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e4",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 257.447,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.20367,
    "h": 292.2
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#8057E4
secondary
#D6E6B1
accent
#D4119C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057E4

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

Preview Lab → · Contrast checker → · Palette generator →

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