#B159DA#B159DA

#B159DA is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.4% C 0.200 H 313.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B159DA
RGBrgb(177, 89, 218)
HSLhsl(281, 64%, 60%)
HSVhsv(281, 59%, 85%)
CMYKcmyk(18.8%, 59.2%, 0%, 14.5%)
CIE-LABlab(53.55, 56.38, -51.59)
CIE-LCHlch(53.55, 76.43, 317.54°)
OKLaboklab(62.37% 0.1377 -0.1447)
OKLCHoklch(62.37% 0.2 313.6)
XYZxyz(34.3566, 21.5548, 68.6667)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DA #82DA59
analogous
#7059DA #B159DA #DA59C3
triadic
#B159DA #DAB159 #59DAB1
tetradic
#B159DA #DA7059 #82DA59 #59C3DA
square
#B159DA #DA7059 #82DA59 #59C3DA
split-complementary
#B159DA #C3DA59 #59DA70
monochromatic
#722297 #972DC9 #B159DA #C98BE5 #E0BDF0

Accessibility & contrast

On white

3.95
#B159DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B159DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DA#FFFFFF#000000##000000
##B159DA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#AD7091
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159da;
/* rgb */ color: rgb(177, 89, 218);
/* oklch */ color: oklch(62.4% 0.200 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ce6',
    500: '#b159da',
    950: '#000000',
  },
}
SCSS
$custom: #b159da;
$custom-light: #cb8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b159da",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 280.93,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.19978,
    "h": 313.6
  },
  "luminance": 0.21554
}

Semantic roles & 50–950 ramp

primary
#B159DA
secondary
#BEE0AF
accent
#CB1A52
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DA

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

Preview Lab → · Contrast checker → · Palette generator →

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