#8A57AF#8A57AF

#8A57AF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.141 H 309.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A57AF
RGBrgb(138, 87, 175)
HSLhsl(275, 35%, 51%)
HSVhsv(275, 50%, 69%)
CMYKcmyk(21.1%, 50.3%, 0%, 31.4%)
CIE-LABlab(46.06, 37.73, -39.01)
CIE-LCHlch(46.06, 54.27, 314.05°)
OKLaboklab(55.07% 0.0891 -0.109)
OKLCHoklch(55.07% 0.141 309.3)
XYZxyz(21.6258, 15.3151, 42.3660)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57AF #7CAF57
analogous
#5E57AF #8A57AF #AF57A8
triadic
#8A57AF #AF8A57 #57AF8A
tetradic
#8A57AF #AF5E57 #7CAF57 #57A8AF
square
#8A57AF #AF5E57 #7CAF57 #57A8AF
split-complementary
#8A57AF #A8AF57 #57AF5E
monochromatic
#4A2D5F #6A4188 #8A57AF #A780C3 #C4AAD6

Accessibility & contrast

On white

5.17
#8A57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A57AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57AF#FFFFFF#000000##FFFFFF
##8A57AF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#85667B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a57af;
/* rgb */ color: rgb(138, 87, 175);
/* oklch */ color: oklch(55.1% 0.141 309.3);
Tailwind
colors: {
  custom: {
    50: '#ae88c7',
    500: '#8a57af',
    950: '#000000',
  },
}
SCSS
$custom: #8a57af;
$custom-light: #ae88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57af",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 274.773,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.14083,
    "h": 309.3
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#8A57AF
secondary
#AEC49E
accent
#CC5C8B
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8A57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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