#B96FC2#B96FC2

#B96FC2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.2% C 0.144 H 323.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B96FC2
RGBrgb(185, 111, 194)
HSLhsl(293, 40%, 60%)
HSVhsv(293, 43%, 76%)
CMYKcmyk(4.6%, 42.8%, 0%, 23.9%)
CIE-LABlab(57.64, 42.44, -31.45)
CIE-LCHlch(57.64, 52.82, 323.46°)
OKLaboklab(65.21% 0.1148 -0.0863)
OKLCHoklch(65.21% 0.144 323.1)
XYZxyz(35.4286, 25.5796, 54.0996)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FC2 #78C26F
analogous
#906FC2 #B96FC2 #C26FA2
triadic
#B96FC2 #C2B96F #6FC2B9
tetradic
#B96FC2 #C2906F #78C26F #6FA2C2
square
#B96FC2 #C2906F #78C26F #6FA2C2
split-complementary
#B96FC2 #A2C26F #6FC290
monochromatic
#783680 #A149AB #B96FC2 #CE9AD4 #E3C5E6

Accessibility & contrast

On white

3.43
#B96FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B96FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FC2#FFFFFF#000000##000000
##B96FC21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#BC798F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b96fc2;
/* rgb */ color: rgb(185, 111, 194);
/* oklch */ color: oklch(65.2% 0.144 323.1);
Tailwind
colors: {
  custom: {
    50: '#cf9ad4',
    500: '#b96fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b96fc2;
$custom-light: #cf9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fc2",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 293.494,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.14363,
    "h": 323.1
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#B96FC2
secondary
#BAD6B6
accent
#D05765
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E14
muted
#827E83

Preview Lab

Preview with #B96FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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