#B157DA#B157DA

#B157DA is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.1% C 0.203 H 313.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B157DA
RGBrgb(177, 87, 218)
HSLhsl(281, 64%, 60%)
HSVhsv(281, 60%, 85%)
CMYKcmyk(18.8%, 60.1%, 0%, 14.5%)
CIE-LABlab(53.20, 57.34, -52.16)
CIE-LCHlch(53.20, 77.52, 317.71°)
OKLaboklab(62.11% 0.1402 -0.1464)
OKLCHoklch(62.11% 0.203 313.8)
XYZxyz(34.1924, 21.2265, 68.6120)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157DA #80DA57
analogous
#6F57DA #B157DA #DA57C2
triadic
#B157DA #DAB157 #57DAB1
tetradic
#B157DA #DA6F57 #80DA57 #57C2DA
square
#B157DA #DA6F57 #80DA57 #57C2DA
split-complementary
#B157DA #C2DA57 #57DA6F
monochromatic
#712196 #972CC8 #B157DA #C889E5 #E0BBF0

Accessibility & contrast

On white

4.00
#B157DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B157DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B157DA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B157DA#FFFFFF#000000##000000
##B157DA1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#AD6F91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b157da;
/* rgb */ color: rgb(177, 87, 218);
/* oklch */ color: oklch(62.1% 0.203 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb8be6',
    500: '#b157da',
    950: '#000000',
  },
}
SCSS
$custom: #b157da;
$custom-light: #cb8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b157da",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 281.221,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62109,
    "c": 0.20266,
    "h": 313.8
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#B157DA
secondary
#BDE0AD
accent
#E74175
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B157DA

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

Preview Lab → · Contrast checker → · Palette generator →

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