#B159BE#B159BE

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

Color values

HEX#B159BE
RGBrgb(177, 89, 190)
HSLhsl(292, 44%, 55%)
HSVhsv(292, 53%, 75%)
CMYKcmyk(6.8%, 53.2%, 0%, 25.5%)
CIE-LABlab(52.07, 50.74, -37.92)
CIE-LCHlch(52.07, 63.34, 323.22°)
OKLaboklab(60.81% 0.1359 -0.1049)
OKLCHoklch(60.81% 0.172 322.3)
XYZxyz(30.9971, 20.2110, 50.9736)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BE #66BE59
analogous
#7E59BE #B159BE #BE5999
triadic
#B159BE #BEB159 #59BEB1
tetradic
#B159BE #BE7E59 #66BE59 #5999BE
square
#B159BE #BE7E59 #66BE59 #5999BE
split-complementary
#B159BE #99BE59 #59BE7E
monochromatic
#682C71 #903D9D #B159BE #C685CF #DAB1E0

Accessibility & contrast

On white

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

On black

5.04
#B159BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159BE#FFFFFF#000000##000000
##B159BE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#B36783
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159be;
/* rgb */ color: rgb(177, 89, 190);
/* oklch */ color: oklch(60.8% 0.172 322.3);
Tailwind
colors: {
  custom: {
    50: '#cb8cd2',
    500: '#b159be',
    950: '#000000',
  },
}
SCSS
$custom: #b159be;
$custom-light: #cb8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b159be",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 292.277,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.17175,
    "h": 322.3
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B159BE

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

Preview Lab → · Contrast checker → · Palette generator →

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