#B159CE#B159CE

#B159CE is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.188 H 317.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B159CE
RGBrgb(177, 89, 206)
HSLhsl(285, 54%, 58%)
HSVhsv(285, 57%, 81%)
CMYKcmyk(14.1%, 56.8%, 0%, 19.2%)
CIE-LABlab(52.89, 53.91, -45.82)
CIE-LCHlch(52.89, 70.75, 319.64°)
OKLaboklab(61.68% 0.1373 -0.1278)
OKLCHoklch(61.68% 0.188 317)
XYZxyz(32.8428, 20.9493, 60.6941)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159CE #76CE59
analogous
#7659CE #B159CE #CE59B1
triadic
#B159CE #CEB159 #59CEB1
tetradic
#B159CE #CE7659 #76CE59 #59B1CE
square
#B159CE #CE7659 #76CE59 #59B1CE
split-complementary
#B159CE #B1CE59 #59CE76
monochromatic
#6E2785 #9535B5 #B159CE #C788DC #DDB8EA

Accessibility & contrast

On white

4.05
#B159CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B159CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159CE#FFFFFF#000000##000000
##B159CE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D2
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#B06C8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b159ce;
/* rgb */ color: rgb(177, 89, 206);
/* oklch */ color: oklch(61.7% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb8cdd',
    500: '#b159ce',
    950: '#000000',
  },
}
SCSS
$custom: #b159ce;
$custom-light: #cb8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b159ce",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 285.128,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.18761,
    "h": 317
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#B159CE
secondary
#B6D9AA
accent
#DE4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159CE

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

Preview Lab → · Contrast checker → · Palette generator →

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