#A157BB#A157BB

#A157BB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.4% C 0.164 H 316.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A157BB
RGBrgb(161, 87, 187)
HSLhsl(284, 42%, 54%)
HSVhsv(284, 53%, 73%)
CMYKcmyk(13.9%, 53.5%, 0%, 26.7%)
CIE-LABlab(49.47, 46.77, -40.43)
CIE-LCHlch(49.47, 61.82, 319.16°)
OKLaboklab(58.4% 0.1191 -0.1126)
OKLCHoklch(58.4% 0.164 316.6)
XYZxyz(27.0745, 17.9822, 49.0488)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157BB #71BB57
analogous
#6F57BB #A157BB #BB57A3
triadic
#A157BB #BBA157 #57BBA1
tetradic
#A157BB #BB6F57 #71BB57 #57A3BB
square
#A157BB #BB6F57 #71BB57 #57A3BB
split-complementary
#A157BB #A3BB57 #57BB6F
monochromatic
#5B2C6C #803D97 #A157BB #B983CD #D2AEDE

Accessibility & contrast

On white

4.57
#A157BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A157BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157BB#FFFFFF#000000##000000
##A157BB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A06681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a157bb;
/* rgb */ color: rgb(161, 87, 187);
/* oklch */ color: oklch(58.4% 0.164 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf89d0',
    500: '#a157bb',
    950: '#000000',
  },
}
SCSS
$custom: #a157bb;
$custom-light: #bf89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a157bb",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 284.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58405,
    "c": 0.16389,
    "h": 316.6
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#A157BB
secondary
#ADCCA2
accent
#D25676
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A157BB

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

Preview Lab → · Contrast checker → · Palette generator →

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