#B159AE#B159AE

#B159AE is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.0% C 0.157 H 328.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B159AE
RGBrgb(177, 89, 174)
HSLhsl(302, 36%, 52%)
HSVhsv(302, 50%, 69%)
CMYKcmyk(0%, 49.7%, 1.7%, 30.6%)
CIE-LABlab(51.32, 47.74, -29.82)
CIE-LCHlch(51.32, 56.29, 328.01°)
OKLaboklab(60.01% 0.1337 -0.0816)
OKLCHoklch(60.01% 0.157 328.6)
XYZxyz(29.3434, 19.5495, 42.2640)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159AE #59B15C
analogous
#8859B1 #B159AE #B15982
triadic
#B159AE #AEB159 #59AEB1
tetradic
#B159AE #B18859 #59B15C #5982B1
square
#B159AE #B18859 #59B15C #5982B1
split-complementary
#B159AE #82B159 #59B188
monochromatic
#622E60 #8B4189 #B159AE #C583C2 #D8ACD7

Accessibility & contrast

On white

4.28
#B159AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B159AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159AE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159AE#FFFFFF#000000##000000
##B159AE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B1
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#B6627B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b159ae;
/* rgb */ color: rgb(177, 89, 174);
/* oklch */ color: oklch(60.0% 0.157 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca8bc6',
    500: '#b159ae',
    950: '#000000',
  },
}
SCSS
$custom: #b159ae;
$custom-light: #ca8bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b159ae",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 302.045,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.15663,
    "h": 328.6
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#B159AE
secondary
#A0C6A1
accent
#CC605C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B159AE

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

Preview Lab → · Contrast checker → · Palette generator →

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