#A157AF#A157AF

#A157AF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.8% C 0.151 H 321.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A157AF
RGBrgb(161, 87, 175)
HSLhsl(290, 35%, 51%)
HSVhsv(290, 50%, 69%)
CMYKcmyk(8%, 50.3%, 0%, 31.4%)
CIE-LABlab(48.87, 44.30, -34.39)
CIE-LCHlch(48.87, 56.08, 322.18°)
OKLaboklab(57.76% 0.1177 -0.0951)
OKLCHoklch(57.76% 0.151 321.1)
XYZxyz(25.8431, 17.4897, 42.5637)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157AF #65AF57
analogous
#7557AF #A157AF #AF5791
triadic
#A157AF #AFA157 #57AFA1
tetradic
#A157AF #AF7557 #65AF57 #5791AF
square
#A157AF #AF7557 #65AF57 #5791AF
split-complementary
#A157AF #91AF57 #57AF75
monochromatic
#572D5F #7D4188 #A157AF #B880C3 #CFAAD6

Accessibility & contrast

On white

4.67
#A157AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A157AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A157AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157AF#FFFFFF#000000##FFFFFF
##A157AF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#A2637B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a157af;
/* rgb */ color: rgb(161, 87, 175);
/* oklch */ color: oklch(57.8% 0.151 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf89c7',
    500: '#a157af',
    950: '#000000',
  },
}
SCSS
$custom: #a157af;
$custom-light: #bf89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a157af",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 290.455,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57763,
    "c": 0.15133,
    "h": 321.1
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#A157AF
secondary
#A4C49E
accent
#CC5C6E
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A157AF

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

Preview Lab → · Contrast checker → · Palette generator →

#A157AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva