#8057AC#8057AC

#8057AC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.8% C 0.134 H 304.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8057AC
RGBrgb(128, 87, 172)
HSLhsl(269, 34%, 51%)
HSVhsv(269, 49%, 67%)
CMYKcmyk(25.6%, 49.4%, 0%, 32.5%)
CIE-LABlab(44.78, 34.20, -39.35)
CIE-LCHlch(44.78, 52.13, 311.00°)
OKLaboklab(53.81% 0.076 -0.1103)
OKLCHoklch(53.81% 0.134 304.6)
XYZxyz(19.7551, 14.3842, 40.7574)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057AC #83AC57
analogous
#5758AC #8057AC #AA57AC
triadic
#8057AC #AC8057 #57AC80
tetradic
#8057AC #AC5758 #83AC57 #57ACAA
square
#8057AC #AC5758 #83AC57 #57ACAA
split-complementary
#8057AC #ACAA57 #58AC57
monochromatic
#432D5B #624184 #8057AC #9F80C0 #BEA9D4

Accessibility & contrast

On white

5.42
#8057AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8057AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057AC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057AC#FFFFFF#000000##FFFFFF
##8057AC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#796679
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8057ac;
/* rgb */ color: rgb(128, 87, 172);
/* oklch */ color: oklch(53.8% 0.134 304.6);
Tailwind
colors: {
  custom: {
    50: '#a787c5',
    500: '#8057ac',
    950: '#000000',
  },
}
SCSS
$custom: #8057ac;
$custom-light: #a787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ac",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 268.941,
    "s": 33.865,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.13396,
    "h": 304.6
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#8057AC
secondary
#B0C29D
accent
#CA5E96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8057AC

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

Preview Lab → · Contrast checker → · Palette generator →

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