#B157AE#B157AE

#B157AE is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.7% C 0.160 H 328.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B157AE
RGBrgb(177, 87, 174)
HSLhsl(302, 37%, 52%)
HSVhsv(302, 51%, 69%)
CMYKcmyk(0%, 50.8%, 1.7%, 30.6%)
CIE-LABlab(50.95, 48.74, -30.41)
CIE-LCHlch(50.95, 57.45, 328.04°)
OKLaboklab(59.73% 0.1365 -0.0833)
OKLCHoklch(59.73% 0.16 328.6)
XYZxyz(29.1792, 19.2212, 42.2093)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157AE #57B15A
analogous
#8757B1 #B157AE #B15781
triadic
#B157AE #AEB157 #57AEB1
tetradic
#B157AE #B18757 #57B15A #5781B1
square
#B157AE #B18757 #57B15A #5781B1
split-complementary
#B157AE #81B157 #57B187
monochromatic
#612D5F #8A4088 #B157AE #C481C2 #D8ABD6

Accessibility & contrast

On white

4.34
#B157AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B157AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B157AE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B157AE#FFFFFF#000000##000000
##B157AE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#B6607B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b157ae;
/* rgb */ color: rgb(177, 87, 174);
/* oklch */ color: oklch(59.7% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca8ac6',
    500: '#b157ae',
    950: '#000000',
  },
}
SCSS
$custom: #b157ae;
$custom-light: #ca8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b157ae",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 302,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.15992,
    "h": 328.6
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#B157AE
secondary
#9EC69F
accent
#CD5F5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B157AE

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

Preview Lab → · Contrast checker → · Palette generator →

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