#B159DC#B159DC

#B159DC is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.5% C 0.202 H 313.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B159DC
RGBrgb(177, 89, 220)
HSLhsl(280, 65%, 61%)
HSVhsv(280, 60%, 86%)
CMYKcmyk(19.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(53.66, 56.80, -52.55)
CIE-LCHlch(53.66, 77.38, 317.23°)
OKLaboklab(62.49% 0.1378 -0.1475)
OKLCHoklch(62.49% 0.202 313)
XYZxyz(34.6199, 21.6601, 70.0534)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DC #84DC59
analogous
#6F59DC #B159DC #DC59C6
triadic
#B159DC #DCB159 #59DCB1
tetradic
#B159DC #DC6F59 #84DC59 #59C6DC
square
#B159DC #DC6F59 #84DC59 #59C6DC
split-complementary
#B159DC #C6DC59 #59DC6F
monochromatic
#72209A #982BCD #B159DC #C98CE7 #E0BEF1

Accessibility & contrast

On white

3.94
#B159DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B159DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DC#FFFFFF#000000##000000
##B159DC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#AD7192
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159dc;
/* rgb */ color: rgb(177, 89, 220);
/* oklch */ color: oklch(62.5% 0.202 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb8ce7',
    500: '#b159dc',
    950: '#000000',
  },
}
SCSS
$custom: #b159dc;
$custom-light: #cb8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b159dc",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 280.305,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.20183,
    "h": 313
  },
  "luminance": 0.21659
}

Semantic roles & 50–950 ramp

primary
#B159DC
secondary
#C0E1AF
accent
#CD1854
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DC

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

Preview Lab → · Contrast checker → · Palette generator →

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