#8057E3#8057E3

#8057E3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.202 H 292.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8057E3
RGBrgb(128, 87, 227)
HSLhsl(258, 71%, 62%)
HSVhsv(258, 62%, 89%)
CMYKcmyk(43.6%, 61.7%, 0%, 11%)
CIE-LABlab(48.20, 48.57, -65.59)
CIE-LCHlch(48.20, 81.62, 306.52°)
OKLaboklab(57.42% 0.0769 -0.1873)
OKLCHoklch(57.42% 0.202 292.3)
XYZxyz(26.1716, 16.9508, 74.5510)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E3 #BAE357
analogous
#5774E3 #8057E3 #C657E3
triadic
#8057E3 #E38057 #57E380
tetradic
#8057E3 #E35774 #BAE357 #57E3C6
square
#8057E3 #E35774 #BAE357 #57E3C6
split-complementary
#8057E3 #E3C657 #74E357
monochromatic
#431BA4 #5924D9 #8057E3 #A88BEC #CFC0F4

Accessibility & contrast

On white

4.78
#8057E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8057E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E3#FFFFFF#000000##FFFFFF
##8057E31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#647795
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8057e3;
/* rgb */ color: rgb(128, 87, 227);
/* oklch */ color: oklch(57.4% 0.202 292.3);
Tailwind
colors: {
  custom: {
    50: '#ab88ed',
    500: '#8057e3',
    950: '#000000',
  },
}
SCSS
$custom: #8057e3;
$custom-light: #ab88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e3",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 257.571,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.20246,
    "h": 292.3
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#8057E3
secondary
#D6E5B1
accent
#D3129B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057E3

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

Preview Lab → · Contrast checker → · Palette generator →

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