#A157BC#A157BC

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

Color values

HEX#A157BC
RGBrgb(161, 87, 188)
HSLhsl(284, 43%, 54%)
HSVhsv(284, 54%, 74%)
CMYKcmyk(14.4%, 53.7%, 0%, 26.3%)
CIE-LABlab(49.53, 46.98, -40.93)
CIE-LCHlch(49.53, 62.30, 318.94°)
OKLaboklab(58.46% 0.1192 -0.114)
OKLCHoklch(58.46% 0.165 316.3)
XYZxyz(27.1819, 18.0252, 49.6146)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157BC #72BC57
analogous
#6F57BC #A157BC #BC57A5
triadic
#A157BC #BCA157 #57BCA1
tetradic
#A157BC #BC6F57 #72BC57 #57A5BC
square
#A157BC #BC6F57 #72BC57 #57A5BC
split-complementary
#A157BC #A5BC57 #57BC6F
monochromatic
#5C2C6D #803D99 #A157BC #B983CD #D2AFDF

Accessibility & contrast

On white

4.56
#A157BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A157BC#FFFFFF#000000##000000
##A157BC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#A06781
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a157bc;
/* rgb */ color: rgb(161, 87, 188);
/* oklch */ color: oklch(58.5% 0.165 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf89d0',
    500: '#a157bc',
    950: '#000000',
  },
}
SCSS
$custom: #a157bc;
$custom-light: #bf89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a157bc",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 283.96,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5846,
    "c": 0.16495,
    "h": 316.3
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#A157BC
secondary
#ADCDA2
accent
#D35577
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A157BC

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

Preview Lab → · Contrast checker → · Palette generator →

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