#B96CDF#B96CDF

#B96CDF is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.2% C 0.179 H 313.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B96CDF
RGBrgb(185, 108, 223)
HSLhsl(280, 64%, 65%)
HSVhsv(280, 52%, 87%)
CMYKcmyk(17%, 51.6%, 0%, 12.5%)
CIE-LABlab(58.38, 49.93, -46.68)
CIE-LCHlch(58.38, 68.35, 316.93°)
OKLaboklab(66.21% 0.1232 -0.1302)
OKLCHoklch(66.21% 0.179 313.4)
XYZxyz(38.6872, 26.3681, 72.8493)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CDF #92DF6C
analogous
#806CDF #B96CDF #DF6CCC
triadic
#B96CDF #DFB96C #6CDFB9
tetradic
#B96CDF #DF806C #92DF6C #6CCCDF
square
#B96CDF #DF806C #92DF6C #6CCCDF
split-complementary
#B96CDF #CCDF6C #6CDF80
monochromatic
#7F25AB #A13AD4 #B96CDF #D19EEA #E9D1F5

Accessibility & contrast

On white

3.35
#B96CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B96CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CDF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CDF#FFFFFF#000000##000000
##B96CDF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#B67F9C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b96cdf;
/* rgb */ color: rgb(185, 108, 223);
/* oklch */ color: oklch(66.2% 0.179 313.4);
Tailwind
colors: {
  custom: {
    50: '#d099e9',
    500: '#b96cdf',
    950: '#000000',
  },
}
SCSS
$custom: #b96cdf;
$custom-light: #d099e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cdf",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 280.174,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.1793,
    "h": 313.4
  },
  "luminance": 0.26367
}

Semantic roles & 50–950 ramp

primary
#B96CDF
secondary
#CDE7C0
accent
#CC1954
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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