#8057E6#8057E6

#8057E6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.206 H 291.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8057E6
RGBrgb(128, 87, 230)
HSLhsl(257, 74%, 62%)
HSVhsv(257, 62%, 90%)
CMYKcmyk(44.3%, 62.2%, 0%, 9.8%)
CIE-LABlab(48.41, 49.39, -66.94)
CIE-LCHlch(48.41, 83.19, 306.42°)
OKLaboklab(57.64% 0.0767 -0.1913)
OKLCHoklch(57.64% 0.206 291.8)
XYZxyz(26.5893, 17.1179, 76.7507)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057E6 #BDE657
analogous
#5776E6 #8057E6 #C857E6
triadic
#8057E6 #E68057 #57E680
tetradic
#8057E6 #E65776 #BDE657 #57E6C8
square
#8057E6 #E65776 #BDE657 #57E6C8
split-complementary
#8057E6 #E6C857 #76E657
monochromatic
#4319A9 #5822DE #8057E6 #A88CEE #D1C2F6

Accessibility & contrast

On white

4.75
#8057E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8057E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057E6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057E6#FFFFFF#000000##FFFFFF
##8057E61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#627897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8057e6;
/* rgb */ color: rgb(128, 87, 230);
/* oklch */ color: oklch(57.6% 0.206 291.8);
Tailwind
colors: {
  custom: {
    50: '#ac88ef',
    500: '#8057e6',
    950: '#000000',
  },
}
SCSS
$custom: #8057e6;
$custom-light: #ac88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8057e6",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 257.203,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.20607,
    "h": 291.8
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#8057E6
secondary
#D8E7B2
accent
#D60F9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8057E6

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

Preview Lab → · Contrast checker → · Palette generator →

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