#B96ECC#B96ECC

#B96ECC is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.5% C 0.156 H 319.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B96ECC
RGBrgb(185, 110, 204)
HSLhsl(288, 48%, 62%)
HSVhsv(288, 46%, 80%)
CMYKcmyk(9.3%, 46.1%, 0%, 20%)
CIE-LABlab(57.87, 44.95, -36.76)
CIE-LCHlch(57.87, 58.07, 320.72°)
OKLaboklab(65.53% 0.118 -0.1016)
OKLCHoklch(65.53% 0.156 319.3)
XYZxyz(36.4812, 25.8271, 60.1785)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96ECC #81CC6E
analogous
#8A6ECC #B96ECC #CC6EB0
triadic
#B96ECC #CCB96E #6ECCB9
tetradic
#B96ECC #CC8A6E #81CC6E #6EB0CC
square
#B96ECC #CC8A6E #81CC6E #6EB0CC
split-complementary
#B96ECC #B0CC6E #6ECC8A
monochromatic
#7B328E #A342BB #B96ECC #CF9BDC #E5C9EC

Accessibility & contrast

On white

3.41
#B96ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B96ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96ECC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96ECC#FFFFFF#000000##000000
##B96ECC1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#BA7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96ecc;
/* rgb */ color: rgb(185, 110, 204);
/* oklch */ color: oklch(65.5% 0.156 319.3);
Tailwind
colors: {
  custom: {
    50: '#d09adc',
    500: '#b96ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b96ecc;
$custom-light: #d09adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ecc",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 287.872,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65532,
    "c": 0.15572,
    "h": 319.3
  },
  "luminance": 0.25826
}

Semantic roles & 50–950 ramp

primary
#B96ECC
secondary
#C0DCB9
accent
#BB2A48
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B96ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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