#8057E2#8057E2

#8057E2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.201 H 292.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8057E2
RGBrgb(128, 87, 226)
HSLhsl(258, 71%, 61%)
HSVhsv(258, 62%, 89%)
CMYKcmyk(43.4%, 61.5%, 0%, 11.4%)
CIE-LABlab(48.13, 48.30, -65.14)
CIE-LCHlch(48.13, 81.09, 306.56°)
OKLaboklab(57.34% 0.077 -0.186)
OKLCHoklch(57.34% 0.201 292.5)
XYZxyz(26.0340, 16.8958, 73.8263)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E2 #B9E257
analogous
#5774E2 #8057E2 #C657E2
triadic
#8057E2 #E28057 #57E280
tetradic
#8057E2 #E25774 #B9E257 #57E2C6
square
#8057E2 #E25774 #B9E257 #57E2C6
split-complementary
#8057E2 #E2C657 #74E257
monochromatic
#441CA3 #5925D7 #8057E2 #A78BEB #CFBFF4

Accessibility & contrast

On white

4.80
#8057E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8057E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E2#FFFFFF#000000##FFFFFF
##8057E21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#647794
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8057e2;
/* rgb */ color: rgb(128, 87, 226);
/* oklch */ color: oklch(57.3% 0.201 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab88ec',
    500: '#8057e2',
    950: '#000000',
  },
}
SCSS
$custom: #8057e2;
$custom-light: #ab88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e2",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 257.698,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.20125,
    "h": 292.5
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#8057E2
secondary
#D5E4B0
accent
#D3139A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057E2

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

Preview Lab → · Contrast checker → · Palette generator →

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