#A157BF#A157BF

#A157BF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.6% C 0.168 H 315.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A157BF
RGBrgb(161, 87, 191)
HSLhsl(283, 45%, 55%)
HSVhsv(283, 54%, 75%)
CMYKcmyk(15.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(49.68, 47.61, -42.41)
CIE-LCHlch(49.68, 63.76, 318.31°)
OKLaboklab(58.63% 0.1194 -0.1184)
OKLCHoklch(58.63% 0.168 315.3)
XYZxyz(27.5086, 18.1559, 51.3355)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157BF #75BF57
analogous
#6D57BF #A157BF #BF57A9
triadic
#A157BF #BFA157 #57BFA1
tetradic
#A157BF #BF6D57 #75BF57 #57A9BF
square
#A157BF #BF6D57 #75BF57 #57A9BF
split-complementary
#A157BF #A9BF57 #57BF6D
monochromatic
#5D2B71 #813C9D #A157BF #BA83D0 #D3B0E1

Accessibility & contrast

On white

4.53
#A157BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A157BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157BF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157BF#FFFFFF#000000##000000
##A157BF1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#9F6883
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a157bf;
/* rgb */ color: rgb(161, 87, 191);
/* oklch */ color: oklch(58.6% 0.168 315.3);
Tailwind
colors: {
  custom: {
    50: '#bf89d3',
    500: '#a157bf',
    950: '#000000',
  },
}
SCSS
$custom: #a157bf;
$custom-light: #bf89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a157bf",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 282.692,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.16815,
    "h": 315.3
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#A157BF
secondary
#B0CFA3
accent
#D55379
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A157BF

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

Preview Lab → · Contrast checker → · Palette generator →

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