#8057AE#8057AE

#8057AE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.9% C 0.137 H 303.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8057AE
RGBrgb(128, 87, 174)
HSLhsl(268, 35%, 51%)
HSVhsv(268, 50%, 68%)
CMYKcmyk(26.4%, 50%, 0%, 31.8%)
CIE-LABlab(44.89, 34.69, -40.35)
CIE-LCHlch(44.89, 53.21, 310.69°)
OKLaboklab(53.92% 0.0762 -0.1132)
OKLCHoklch(53.92% 0.137 303.9)
XYZxyz(19.9486, 14.4616, 41.7766)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057AE #85AE57
analogous
#5759AE #8057AE #AB57AE
triadic
#8057AE #AE8057 #57AE80
tetradic
#8057AE #AE5759 #85AE57 #57AEAB
square
#8057AE #AE5759 #85AE57 #57AEAB
split-complementary
#8057AE #AEAB57 #59AE57
monochromatic
#442D5E #624187 #8057AE #9F80C2 #BEAAD6

Accessibility & contrast

On white

5.40
#8057AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8057AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057AE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057AE#FFFFFF#000000##FFFFFF
##8057AE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#78677A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8057ae;
/* rgb */ color: rgb(128, 87, 174);
/* oklch */ color: oklch(53.9% 0.137 303.9);
Tailwind
colors: {
  custom: {
    50: '#a787c6',
    500: '#8057ae',
    950: '#000000',
  },
}
SCSS
$custom: #8057ae;
$custom-light: #a787c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ae",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 268.276,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.1365,
    "h": 303.9
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#8057AE
secondary
#B2C49D
accent
#CB5D97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8057AE

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

Preview Lab → · Contrast checker → · Palette generator →

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