#B159B2#B159B2

#B159B2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.160 H 326.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B159B2
RGBrgb(177, 89, 178)
HSLhsl(299, 37%, 52%)
HSVhsv(299, 50%, 70%)
CMYKcmyk(0.6%, 50%, 0%, 30.2%)
CIE-LABlab(51.51, 48.47, -31.86)
CIE-LCHlch(51.51, 58.01, 326.68°)
OKLaboklab(60.2% 0.1343 -0.0875)
OKLCHoklch(60.2% 0.16 326.9)
XYZxyz(29.7392, 19.7078, 44.3484)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159B2 #5AB259
analogous
#8559B2 #B159B2 #B25986
triadic
#B159B2 #B2B159 #59B2B1
tetradic
#B159B2 #B28559 #5AB259 #5986B2
square
#B159B2 #B28559 #5AB259 #5986B2
split-complementary
#B159B2 #86B259 #59B285
monochromatic
#622E63 #8C418D #B159B2 #C583C5 #D8ADD9

Accessibility & contrast

On white

4.25
#B159B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B159B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159B2#FFFFFF#000000##000000
##B159B21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#B5637D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b159b2;
/* rgb */ color: rgb(177, 89, 178);
/* oklch */ color: oklch(60.2% 0.160 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca8bc9',
    500: '#b159b2',
    950: '#000000',
  },
}
SCSS
$custom: #b159b2;
$custom-light: #ca8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b159b2",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 299.326,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.16031,
    "h": 326.9
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#B159B2
secondary
#A0C7A0
accent
#CD5B5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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