#B159BD#B159BD

#B159BD is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.171 H 322.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B159BD
RGBrgb(177, 89, 189)
HSLhsl(293, 43%, 55%)
HSVhsv(293, 53%, 74%)
CMYKcmyk(6.3%, 52.9%, 0%, 25.9%)
CIE-LABlab(52.03, 50.54, -37.42)
CIE-LCHlch(52.03, 62.89, 323.48°)
OKLaboklab(60.76% 0.1358 -0.1035)
OKLCHoklch(60.76% 0.171 322.7)
XYZxyz(30.8882, 20.1674, 50.3999)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BD #65BD59
analogous
#7F59BD #B159BD #BD5997
triadic
#B159BD #BDB159 #59BDB1
tetradic
#B159BD #BD7F59 #65BD59 #5997BD
square
#B159BD #BD7F59 #65BD59 #5997BD
split-complementary
#B159BD #97BD59 #59BD7F
monochromatic
#672C6F #903E9B #B159BD #C685CE #DAB1E0

Accessibility & contrast

On white

4.17
#B159BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B159BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159BD#FFFFFF#000000##000000
##B159BD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75C0
Deuteranopia (green-blind)
#6580BA
Tritanopia (blue-blind)
#B36683
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159bd;
/* rgb */ color: rgb(177, 89, 189);
/* oklch */ color: oklch(60.8% 0.171 322.7);
Tailwind
colors: {
  custom: {
    50: '#cb8cd1',
    500: '#b159bd',
    950: '#000000',
  },
}
SCSS
$custom: #b159bd;
$custom-light: #cb8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b159bd",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 292.8,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.17078,
    "h": 322.7
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#B159BD
secondary
#A9CEA4
accent
#D35564
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B159BD

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

Preview Lab → · Contrast checker → · Palette generator →

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