#B96ECB#B96ECB

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

Color values

HEX#B96ECB
RGBrgb(185, 110, 203)
HSLhsl(288, 47%, 61%)
HSVhsv(288, 46%, 80%)
CMYKcmyk(8.9%, 45.8%, 0%, 20.4%)
CIE-LABlab(57.83, 44.75, -36.27)
CIE-LCHlch(57.83, 57.60, 320.98°)
OKLaboklab(65.48% 0.1179 -0.1001)
OKLCHoklch(65.48% 0.155 319.6)
XYZxyz(36.3616, 25.7792, 59.5488)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96ECB #80CB6E
analogous
#8B6ECB #B96ECB #CB6EAF
triadic
#B96ECB #CBB96E #6ECBB9
tetradic
#B96ECB #CB8B6E #80CB6E #6EAFCB
square
#B96ECB #CB8B6E #80CB6E #6EAFCB
split-complementary
#B96ECB #AFCB6E #6ECB8B
monochromatic
#7B328C #A242B9 #B96ECB #CF9BDB #E4C8EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B96ECB#FFFFFF#000000##000000
##B96ECB1.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)
#5F86CE
Deuteranopia (green-blind)
#748EC8
Tritanopia (blue-blind)
#BA7A93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96ecb;
/* rgb */ color: rgb(185, 110, 203);
/* oklch */ color: oklch(65.5% 0.155 319.6);
Tailwind
colors: {
  custom: {
    50: '#d09adb',
    500: '#b96ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b96ecb;
$custom-light: #d09adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ecb",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 288.387,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.15467,
    "h": 319.6
  },
  "luminance": 0.25778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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