#B159BC#B159BC

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

Color values

HEX#B159BC
RGBrgb(177, 89, 188)
HSLhsl(293, 42%, 54%)
HSVhsv(293, 53%, 74%)
CMYKcmyk(5.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(51.98, 50.35, -36.92)
CIE-LCHlch(51.98, 62.44, 323.75°)
OKLaboklab(60.7% 0.1357 -0.1021)
OKLCHoklch(60.7% 0.17 323.1)
XYZxyz(30.7800, 20.1242, 49.8302)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159BC #64BC59
analogous
#8059BC #B159BC #BC5996
triadic
#B159BC #BCB159 #59BCB1
tetradic
#B159BC #BC8059 #64BC59 #5996BC
square
#B159BC #BC8059 #64BC59 #5996BC
split-complementary
#B159BC #96BC59 #59BC80
monochromatic
#672C6E #903E9A #B159BC #C585CE #DAB0DF

Accessibility & contrast

On white

4.18
#B159BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B159BC#FFFFFF#000000##000000
##B159BC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#B46682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b159bc;
/* rgb */ color: rgb(177, 89, 188);
/* oklch */ color: oklch(60.7% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#ca8cd0',
    500: '#b159bc',
    950: '#000000',
  },
}
SCSS
$custom: #b159bc;
$custom-light: #ca8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b159bc",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 293.333,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.16981,
    "h": 323.1
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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