#B159CC#B159CC

#B159CC is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.186 H 317.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B159CC
RGBrgb(177, 89, 204)
HSLhsl(286, 53%, 57%)
HSVhsv(286, 56%, 80%)
CMYKcmyk(13.2%, 56.4%, 0%, 20%)
CIE-LABlab(52.79, 53.50, -44.84)
CIE-LCHlch(52.79, 69.81, 320.03°)
OKLaboklab(61.56% 0.1372 -0.125)
OKLCHoklch(61.56% 0.186 317.7)
XYZxyz(32.6014, 20.8527, 59.4227)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159CC #74CC59
analogous
#7859CC #B159CC #CC59AD
triadic
#B159CC #CCB159 #59CCB1
tetradic
#B159CC #CC7859 #74CC59 #59ADCC
square
#B159CC #CC7859 #74CC59 #59ADCC
split-complementary
#B159CC #ADCC59 #59CC78
monochromatic
#6D2883 #9436B1 #B159CC #C788DA #DDB7E9

Accessibility & contrast

On white

4.06
#B159CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B159CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159CC#FFFFFF#000000##000000
##B159CC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#B06B8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b159cc;
/* rgb */ color: rgb(177, 89, 204);
/* oklch */ color: oklch(61.6% 0.186 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb8cdc',
    500: '#b159cc',
    950: '#000000',
  },
}
SCSS
$custom: #b159cc;
$custom-light: #cb8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b159cc",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 285.913,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.1856,
    "h": 317.7
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#B159CC
secondary
#B4D8A9
accent
#DC4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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