#B96ECA#B96ECA

#B96ECA is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.4% C 0.154 H 320.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B96ECA
RGBrgb(185, 110, 202)
HSLhsl(289, 46%, 61%)
HSVhsv(289, 46%, 79%)
CMYKcmyk(8.4%, 45.5%, 0%, 20.8%)
CIE-LABlab(57.78, 44.55, -35.77)
CIE-LCHlch(57.78, 57.14, 321.24°)
OKLaboklab(65.43% 0.1177 -0.0987)
OKLCHoklch(65.43% 0.154 320)
XYZxyz(36.2429, 25.7317, 58.9233)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96ECA #7FCA6E
analogous
#8B6ECA #B96ECA #CA6EAD
triadic
#B96ECA #CAB96E #6ECAB9
tetradic
#B96ECA #CA8B6E #7FCA6E #6EADCA
square
#B96ECA #CA8B6E #7FCA6E #6EADCA
split-complementary
#B96ECA #ADCA6E #6ECA8B
monochromatic
#7B338B #A243B8 #B96ECA #CF9BDA #E4C8EB

Accessibility & contrast

On white

3.42
#B96ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B96ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96ECA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96ECA#FFFFFF#000000##000000
##B96ECA1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#758EC7
Tritanopia (blue-blind)
#BA7A92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96eca;
/* rgb */ color: rgb(185, 110, 202);
/* oklch */ color: oklch(65.4% 0.154 320.0);
Tailwind
colors: {
  custom: {
    50: '#d09ada',
    500: '#b96eca',
    950: '#000000',
  },
}
SCSS
$custom: #b96eca;
$custom-light: #d09ada;
$custom-dark: #000000;
JSON
{
  "hex": "#b96eca",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 288.913,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.15362,
    "h": 320
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#B96ECA
secondary
#BFDBB9
accent
#BA2C46
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B96ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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