#B159BB#B159BB

#B159BB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.169 H 323.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B159BB
RGBrgb(177, 89, 187)
HSLhsl(294, 42%, 54%)
HSVhsv(294, 52%, 73%)
CMYKcmyk(5.3%, 52.4%, 0%, 26.7%)
CIE-LABlab(51.93, 50.16, -36.42)
CIE-LCHlch(51.93, 61.99, 324.02°)
OKLaboklab(60.65% 0.1356 -0.1006)
OKLCHoklch(60.65% 0.169 323.4)
XYZxyz(30.6726, 20.0812, 49.2645)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BB #63BB59
analogous
#8059BB #B159BB #BB5994
triadic
#B159BB #BBB159 #59BBB1
tetradic
#B159BB #BB8059 #63BB59 #5994BB
square
#B159BB #BB8059 #63BB59 #5994BB
split-complementary
#B159BB #94BB59 #59BB80
monochromatic
#662D6D #8F3E98 #B159BB #C584CD #DAB0DF

Accessibility & contrast

On white

4.19
#B159BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B159BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159BB#FFFFFF#000000##000000
##B159BB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#B46682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159bb;
/* rgb */ color: rgb(177, 89, 187);
/* oklch */ color: oklch(60.7% 0.169 323.4);
Tailwind
colors: {
  custom: {
    50: '#ca8cd0',
    500: '#b159bb',
    950: '#000000',
  },
}
SCSS
$custom: #b159bb;
$custom-light: #ca8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b159bb",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 293.878,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60653,
    "c": 0.16885,
    "h": 323.4
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#B159BB
secondary
#A7CDA3
accent
#D25663
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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