#A157AE#A157AE

#A157AE is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.7% C 0.150 H 321.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A157AE
RGBrgb(161, 87, 174)
HSLhsl(291, 35%, 51%)
HSVhsv(291, 50%, 68%)
CMYKcmyk(7.5%, 50%, 0%, 31.8%)
CIE-LABlab(48.82, 44.10, -33.88)
CIE-LCHlch(48.82, 55.61, 322.47°)
OKLaboklab(57.71% 0.1176 -0.0936)
OKLCHoklch(57.71% 0.15 321.5)
XYZxyz(25.7453, 17.4505, 42.0483)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157AE #64AE57
analogous
#7557AE #A157AE #AE578F
triadic
#A157AE #AEA157 #57AEA1
tetradic
#A157AE #AE7557 #64AE57 #578FAE
square
#A157AE #AE7557 #64AE57 #578FAE
split-complementary
#A157AE #8FAE57 #57AE75
monochromatic
#562D5E #7C4187 #A157AE #B880C2 #CFAAD6

Accessibility & contrast

On white

4.68
#A157AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A157AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A157AE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157AE#FFFFFF#000000##FFFFFF
##A157AE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#A3627A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a157ae;
/* rgb */ color: rgb(161, 87, 174);
/* oklch */ color: oklch(57.7% 0.150 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf89c6',
    500: '#a157ae',
    950: '#000000',
  },
}
SCSS
$custom: #a157ae;
$custom-light: #bf89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a157ae",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 291.034,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.1503,
    "h": 321.5
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#A157AE
secondary
#A3C49D
accent
#CB5D6D
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A157AE

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

Preview Lab → · Contrast checker → · Palette generator →

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