#B157BE#B157BE

#B157BE is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.5% C 0.175 H 322.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B157BE
RGBrgb(177, 87, 190)
HSLhsl(292, 44%, 54%)
HSVhsv(292, 54%, 75%)
CMYKcmyk(6.8%, 54.2%, 0%, 25.5%)
CIE-LABlab(51.70, 51.73, -38.51)
CIE-LCHlch(51.70, 64.49, 323.33°)
OKLaboklab(60.54% 0.1387 -0.1066)
OKLCHoklch(60.54% 0.175 322.4)
XYZxyz(30.8330, 19.8827, 50.9189)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157BE #64BE57
analogous
#7E57BE #B157BE #BE5798
triadic
#B157BE #BEB157 #57BEB1
tetradic
#B157BE #BE7E57 #64BE57 #5798BE
square
#B157BE #BE7E57 #64BE57 #5798BE
split-complementary
#B157BE #98BE57 #57BE7E
monochromatic
#672B6F #903C9C #B157BE #C583CF #DAAFE0

Accessibility & contrast

On white

4.22
#B157BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B157BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B157BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B157BE#FFFFFF#000000##000000
##B157BE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#B36582
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b157be;
/* rgb */ color: rgb(177, 87, 190);
/* oklch */ color: oklch(60.5% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb8ad2',
    500: '#b157be',
    950: '#000000',
  },
}
SCSS
$custom: #b157be;
$custom-light: #cb8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b157be",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 292.427,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.17491,
    "h": 322.4
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#B157BE
secondary
#A8CEA3
accent
#D45464
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B157BE

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

Preview Lab → · Contrast checker → · Palette generator →

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