#B159AA#B159AA

#B159AA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.8% C 0.153 H 330.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B159AA
RGBrgb(177, 89, 170)
HSLhsl(305, 36%, 52%)
HSVhsv(305, 50%, 69%)
CMYKcmyk(0%, 49.7%, 4%, 30.6%)
CIE-LABlab(51.15, 47.02, -27.76)
CIE-LCHlch(51.15, 54.60, 329.45°)
OKLaboklab(59.82% 0.133 -0.0757)
OKLCHoklch(59.82% 0.153 330.3)
XYZxyz(28.9593, 19.3959, 40.2409)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159AA #59B160
analogous
#8C59B1 #B159AA #B1597E
triadic
#B159AA #AAB159 #59AAB1
tetradic
#B159AA #B18C59 #59B160 #597EB1
square
#B159AA #B18C59 #59B160 #597EB1
split-complementary
#B159AA #7EB159 #59B18C
monochromatic
#622E5E #8B4185 #B159AA #C583BF #D8ACD5

Accessibility & contrast

On white

4.30
#B159AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B159AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159AA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159AA#FFFFFF#000000##000000
##B159AA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5572AD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#B7607A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b159aa;
/* rgb */ color: rgb(177, 89, 170);
/* oklch */ color: oklch(59.8% 0.153 330.3);
Tailwind
colors: {
  custom: {
    50: '#ca8bc3',
    500: '#b159aa',
    950: '#000000',
  },
}
SCSS
$custom: #b159aa;
$custom-light: #ca8bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b159aa",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 304.773,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.15302,
    "h": 330.3
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#B159AA
secondary
#A0C6A3
accent
#CC655C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #B159AA

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

Preview Lab → · Contrast checker → · Palette generator →

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