#B96EDA#B96EDA

#B96EDA is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.2% C 0.171 H 314.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B96EDA
RGBrgb(185, 110, 218)
HSLhsl(282, 59%, 64%)
HSVhsv(282, 50%, 85%)
CMYKcmyk(15.1%, 49.5%, 0%, 14.5%)
CIE-LABlab(58.54, 47.83, -43.63)
CIE-LCHlch(58.54, 64.74, 317.63°)
OKLaboklab(66.24% 0.12 -0.1214)
OKLCHoklch(66.24% 0.171 314.7)
XYZxyz(38.2364, 26.5291, 69.4225)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EDA #8FDA6E
analogous
#836EDA #B96EDA #DA6EC5
triadic
#B96EDA #DAB96E #6EDAB9
tetradic
#B96EDA #DA836E #8FDA6E #6EC5DA
square
#B96EDA #DA836E #8FDA6E #6EC5DA
split-complementary
#B96EDA #C5DA6E #6EDA83
monochromatic
#7F2AA4 #A13DCE #B96EDA #D19FE6 #E8D0F3

Accessibility & contrast

On white

3.33
#B96EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B96EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EDA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EDA#FFFFFF#000000##000000
##B96EDA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DE
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#B77F9A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96eda;
/* rgb */ color: rgb(185, 110, 218);
/* oklch */ color: oklch(66.2% 0.171 314.7);
Tailwind
colors: {
  custom: {
    50: '#d09ae6',
    500: '#b96eda',
    950: '#000000',
  },
}
SCSS
$custom: #b96eda;
$custom-light: #d09ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b96eda",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 281.667,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.1707,
    "h": 314.7
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#B96EDA
secondary
#CBE5BF
accent
#C71F52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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