#A157BE#A157BE

#A157BE is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.167 H 315.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A157BE
RGBrgb(161, 87, 190)
HSLhsl(283, 44%, 54%)
HSVhsv(283, 54%, 75%)
CMYKcmyk(15.3%, 54.2%, 0%, 25.5%)
CIE-LABlab(49.63, 47.40, -41.92)
CIE-LCHlch(49.63, 63.28, 318.51°)
OKLaboklab(58.57% 0.1194 -0.1169)
OKLCHoklch(58.57% 0.167 315.6)
XYZxyz(27.3990, 18.1120, 50.7579)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A157BE #74BE57
analogous
#6E57BE #A157BE #BE57A8
triadic
#A157BE #BEA157 #57BEA1
tetradic
#A157BE #BE6E57 #74BE57 #57A8BE
square
#A157BE #BE6E57 #74BE57 #57A8BE
split-complementary
#A157BE #A8BE57 #57BE6E
monochromatic
#5C2B6F #813C9C #A157BE #BA83CF #D2AFE0

Accessibility & contrast

On white

4.54
#A157BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A157BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A157BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A157BE#FFFFFF#000000##000000
##A157BE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#9F6782
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a157be;
/* rgb */ color: rgb(161, 87, 190);
/* oklch */ color: oklch(58.6% 0.167 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf89d2',
    500: '#a157be',
    950: '#000000',
  },
}
SCSS
$custom: #a157be;
$custom-light: #bf89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a157be",
  "rgb": {
    "r": 161,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 283.107,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.16708,
    "h": 315.6
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#A157BE
secondary
#AFCEA3
accent
#D45478
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A157BE

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

Preview Lab → · Contrast checker → · Palette generator →

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