#B159BF#B159BF

#B159BF is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.173 H 322.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B159BF
RGBrgb(177, 89, 191)
HSLhsl(292, 44%, 55%)
HSVhsv(292, 53%, 75%)
CMYKcmyk(7.3%, 53.4%, 0%, 25.1%)
CIE-LABlab(52.12, 50.93, -38.42)
CIE-LCHlch(52.12, 63.80, 322.97°)
OKLaboklab(60.86% 0.1361 -0.1064)
OKLCHoklch(60.86% 0.173 322)
XYZxyz(31.1068, 20.2549, 51.5512)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BF #67BF59
analogous
#7E59BF #B159BF #BF599A
triadic
#B159BF #BFB159 #59BFB1
tetradic
#B159BF #BF7E59 #67BF59 #599ABF
square
#B159BF #BF7E59 #67BF59 #599ABF
split-complementary
#B159BF #9ABF59 #59BF7E
monochromatic
#682C72 #913D9E #B159BF #C685D0 #DBB1E1

Accessibility & contrast

On white

4.16
#B159BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B159BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159BF#FFFFFF#000000##000000
##B159BF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#B36784
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159bf;
/* rgb */ color: rgb(177, 89, 191);
/* oklch */ color: oklch(60.9% 0.173 322.0);
Tailwind
colors: {
  custom: {
    50: '#cb8cd3',
    500: '#b159bf',
    950: '#000000',
  },
}
SCSS
$custom: #b159bf;
$custom-light: #cb8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b159bf",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 291.765,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.17273,
    "h": 322
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#B159BF
secondary
#AACFA4
accent
#D45465
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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