#B159DB#B159DB

#B159DB is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.4% C 0.201 H 313.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B159DB
RGBrgb(177, 89, 219)
HSLhsl(281, 64%, 60%)
HSVhsv(281, 59%, 86%)
CMYKcmyk(19.2%, 59.4%, 0%, 14.1%)
CIE-LABlab(53.61, 56.59, -52.07)
CIE-LCHlch(53.61, 76.90, 317.38°)
OKLaboklab(62.43% 0.1378 -0.1461)
OKLCHoklch(62.43% 0.201 313.3)
XYZxyz(34.4878, 21.6073, 69.3580)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DB #83DB59
analogous
#7059DB #B159DB #DB59C4
triadic
#B159DB #DBB159 #59DBB1
tetradic
#B159DB #DB7059 #83DB59 #59C4DB
square
#B159DB #DB7059 #83DB59 #59C4DB
split-complementary
#B159DB #C4DB59 #59DB70
monochromatic
#722199 #972CCB #B159DB #C98BE6 #E0BEF1

Accessibility & contrast

On white

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

On black

5.32
#B159DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DB#FFFFFF#000000##000000
##B159DB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#AD7092
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159db;
/* rgb */ color: rgb(177, 89, 219);
/* oklch */ color: oklch(62.4% 0.201 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb8ce7',
    500: '#b159db',
    950: '#000000',
  },
}
SCSS
$custom: #b159db;
$custom-light: #cb8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b159db",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 280.615,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62427,
    "c": 0.20081,
    "h": 313.3
  },
  "luminance": 0.21606
}

Semantic roles & 50–950 ramp

primary
#B159DB
secondary
#BFE1AF
accent
#CC1953
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DB

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

Preview Lab → · Contrast checker → · Palette generator →

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