#B159DD#B159DD

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

Color values

HEX#B159DD
RGBrgb(177, 89, 221)
HSLhsl(280, 66%, 61%)
HSVhsv(280, 60%, 87%)
CMYKcmyk(19.9%, 59.7%, 0%, 13.3%)
CIE-LABlab(53.72, 57.01, -53.02)
CIE-LCHlch(53.72, 77.86, 317.08°)
OKLaboklab(62.55% 0.1378 -0.1489)
OKLCHoklch(62.55% 0.203 312.8)
XYZxyz(34.7527, 21.7132, 70.7530)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DD #85DD59
analogous
#6F59DD #B159DD #DD59C7
triadic
#B159DD #DDB159 #59DDB1
tetradic
#B159DD #DD6F59 #85DD59 #59C7DD
square
#B159DD #DD6F59 #85DD59 #59C7DD
split-complementary
#B159DD #C7DD59 #59DD6F
monochromatic
#72209C #982ACF #B159DD #C98CE7 #E1BFF2

Accessibility & contrast

On white

3.93
#B159DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B159DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DD#FFFFFF#000000##000000
##B159DD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE1
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#AC7193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159dd;
/* rgb */ color: rgb(177, 89, 221);
/* oklch */ color: oklch(62.5% 0.203 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc8ce8',
    500: '#b159dd',
    950: '#000000',
  },
}
SCSS
$custom: #b159dd;
$custom-light: #cc8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#b159dd",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 280,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62546,
    "c": 0.20285,
    "h": 312.8
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

primary
#B159DD
secondary
#C1E2B0
accent
#CE1854
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DD

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

Preview Lab → · Contrast checker → · Palette generator →

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