#8A57AE#8A57AE

#8A57AE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.140 H 309.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A57AE
RGBrgb(138, 87, 174)
HSLhsl(275, 35%, 51%)
HSVhsv(275, 50%, 68%)
CMYKcmyk(20.7%, 50%, 0%, 31.8%)
CIE-LABlab(46.01, 37.50, -38.50)
CIE-LCHlch(46.01, 53.75, 314.24°)
OKLaboklab(55.01% 0.089 -0.1076)
OKLCHoklch(55.01% 0.14 309.6)
XYZxyz(21.5280, 15.2760, 41.8507)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57AE #7BAE57
analogous
#5E57AE #8A57AE #AE57A6
triadic
#8A57AE #AE8A57 #57AE8A
tetradic
#8A57AE #AE5E57 #7BAE57 #57A6AE
square
#8A57AE #AE5E57 #7BAE57 #57A6AE
split-complementary
#8A57AE #A6AE57 #57AE5E
monochromatic
#492D5E #6A4187 #8A57AE #A780C2 #C4AAD6

Accessibility & contrast

On white

5.18
#8A57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57AE#FFFFFF#000000##FFFFFF
##8A57AE1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#85657A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a57ae;
/* rgb */ color: rgb(138, 87, 174);
/* oklch */ color: oklch(55.0% 0.140 309.6);
Tailwind
colors: {
  custom: {
    50: '#ae88c6',
    500: '#8a57ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ae;
$custom-light: #ae88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ae",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 275.172,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.13963,
    "h": 309.6
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#8A57AE
secondary
#ADC49D
accent
#CB5D8A
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8A57AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A57AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva