#B96DDD#B96DDD

#B96DDD is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.3% C 0.176 H 313.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B96DDD
RGBrgb(185, 109, 221)
HSLhsl(281, 62%, 65%)
HSVhsv(281, 51%, 87%)
CMYKcmyk(16.3%, 50.7%, 0%, 13.3%)
CIE-LABlab(58.48, 48.98, -45.40)
CIE-LCHlch(58.48, 66.78, 317.18°)
OKLaboklab(66.25% 0.1217 -0.1265)
OKLCHoklch(66.25% 0.176 313.9)
XYZxyz(38.5252, 26.4730, 71.4730)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DDD #91DD6D
analogous
#816DDD #B96DDD #DD6DC9
triadic
#B96DDD #DDB96D #6DDDB9
tetradic
#B96DDD #DD816D #91DD6D #6DC9DD
square
#B96DDD #DD816D #91DD6D #6DC9DD
split-complementary
#B96DDD #C9DD6D #6DDD81
monochromatic
#7F27A8 #A13BD1 #B96DDD #D19FE9 #E9D0F4

Accessibility & contrast

On white

3.34
#B96DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B96DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DDD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DDD#FFFFFF#000000##000000
##B96DDD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#B67F9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96ddd;
/* rgb */ color: rgb(185, 109, 221);
/* oklch */ color: oklch(66.3% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#d099e8',
    500: '#b96ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b96ddd;
$custom-light: #d099e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ddd",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 280.714,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.17555,
    "h": 313.9
  },
  "luminance": 0.26472
}

Semantic roles & 50–950 ramp

primary
#B96DDD
secondary
#CCE6C0
accent
#CA1C54
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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