#B159BA#B159BA

#B159BA is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.168 H 323.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B159BA
RGBrgb(177, 89, 186)
HSLhsl(294, 41%, 54%)
HSVhsv(294, 52%, 73%)
CMYKcmyk(4.8%, 52.2%, 0%, 27.1%)
CIE-LABlab(51.88, 49.97, -35.92)
CIE-LCHlch(51.88, 61.54, 324.29°)
OKLaboklab(60.6% 0.1355 -0.0992)
OKLCHoklch(60.6% 0.168 323.8)
XYZxyz(30.5659, 20.0385, 48.7027)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BA #62BA59
analogous
#8159BA #B159BA #BA5993
triadic
#B159BA #BAB159 #59BAB1
tetradic
#B159BA #BA8159 #62BA59 #5993BA
square
#B159BA #BA8159 #62BA59 #5993BA
split-complementary
#B159BA #93BA59 #59BA81
monochromatic
#662D6C #8F3F97 #B159BA #C584CC #DAAFDE

Accessibility & contrast

On white

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

On black

5.01
#B159BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159BA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159BA#FFFFFF#000000##000000
##B159BA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#B46581
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159ba;
/* rgb */ color: rgb(177, 89, 186);
/* oklch */ color: oklch(60.6% 0.168 323.8);
Tailwind
colors: {
  custom: {
    50: '#ca8ccf',
    500: '#b159ba',
    950: '#000000',
  },
}
SCSS
$custom: #b159ba;
$custom-light: #ca8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b159ba",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 294.433,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.16788,
    "h": 323.8
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#B159BA
secondary
#A7CCA3
accent
#D15762
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B159BA

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

Preview Lab → · Contrast checker → · Palette generator →

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