#B159D9#B159D9

#B159D9 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.3% C 0.199 H 313.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B159D9
RGBrgb(177, 89, 217)
HSLhsl(281, 63%, 60%)
HSVhsv(281, 59%, 85%)
CMYKcmyk(18.4%, 59%, 0%, 14.9%)
CIE-LABlab(53.50, 56.17, -51.12)
CIE-LCHlch(53.50, 75.95, 317.70°)
OKLaboklab(62.31% 0.1377 -0.1433)
OKLCHoklch(62.31% 0.199 313.9)
XYZxyz(34.2261, 21.5026, 67.9797)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159D9 #81D959
analogous
#7159D9 #B159D9 #D959C1
triadic
#B159D9 #D9B159 #59D9B1
tetradic
#B159D9 #D97159 #81D959 #59C1D9
square
#B159D9 #D97159 #81D959 #59C1D9
split-complementary
#B159D9 #C1D959 #59D971
monochromatic
#712295 #972EC7 #B159D9 #C88BE4 #E0BDF0

Accessibility & contrast

On white

3.96
#B159D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B159D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159D9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159D9#FFFFFF#000000##000000
##B159D91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#307BDD
Deuteranopia (green-blind)
#5482D6
Tritanopia (blue-blind)
#AD7091
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159d9;
/* rgb */ color: rgb(177, 89, 217);
/* oklch */ color: oklch(62.3% 0.199 313.9);
Tailwind
colors: {
  custom: {
    50: '#cb8ce5',
    500: '#b159d9',
    950: '#000000',
  },
}
SCSS
$custom: #b159d9;
$custom-light: #cb8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#b159d9",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 281.25,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.19876,
    "h": 313.9
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#B159D9
secondary
#BEE0AE
accent
#E64275
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159D9

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

Preview Lab → · Contrast checker → · Palette generator →

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