#B96FC7#B96FC7

#B96FC7 is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.4% C 0.149 H 321.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B96FC7
RGBrgb(185, 111, 199)
HSLhsl(290, 44%, 61%)
HSVhsv(290, 44%, 78%)
CMYKcmyk(7%, 44.2%, 0%, 22%)
CIE-LABlab(57.85, 43.42, -33.95)
CIE-LCHlch(57.85, 55.12, 321.98°)
OKLaboklab(65.44% 0.1157 -0.0935)
OKLCHoklch(65.44% 0.149 321.1)
XYZxyz(35.9996, 25.8080, 57.1069)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FC7 #7DC76F
analogous
#8D6FC7 #B96FC7 #C76FA9
triadic
#B96FC7 #C7B96F #6FC7B9
tetradic
#B96FC7 #C78D6F #7DC76F #6FA9C7
square
#B96FC7 #C78D6F #7DC76F #6FA9C7
split-complementary
#B96FC7 #A9C76F #6FC78D
monochromatic
#7A3587 #A246B3 #B96FC7 #CE9BD8 #E4C7E9

Accessibility & contrast

On white

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

On black

6.16
#B96FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FC7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FC7#FFFFFF#000000##000000
##B96FC71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CA
Deuteranopia (green-blind)
#778EC4
Tritanopia (blue-blind)
#BB7A92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96fc7;
/* rgb */ color: rgb(185, 111, 199);
/* oklch */ color: oklch(65.4% 0.149 321.1);
Tailwind
colors: {
  custom: {
    50: '#d09ad8',
    500: '#b96fc7',
    950: '#000000',
  },
}
SCSS
$custom: #b96fc7;
$custom-light: #d09ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fc7",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 290.455,
    "s": 44,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65445,
    "c": 0.14879,
    "h": 321.1
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#B96FC7
secondary
#BEDAB8
accent
#B72E44
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E14
muted
#827E83

Preview Lab

Preview with #B96FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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