#B96CFE#B96CFE

#B96CFE is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 68.0% C 0.213 H 305.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B96CFE
RGBrgb(185, 108, 254)
HSLhsl(272, 99%, 71%)
HSVhsv(272, 57%, 100%)
CMYKcmyk(27.2%, 57.5%, 0%, 0.4%)
CIE-LABlab(60.06, 56.73, -61.24)
CIE-LCHlch(60.06, 83.48, 312.81°)
OKLaboklab(67.99% 0.1247 -0.1728)
OKLCHoklch(67.99% 0.213 305.8)
XYZxyz(43.2557, 28.1955, 96.9102)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CFE #B1FE6C
analogous
#706CFE #B96CFE #FE6CFA
triadic
#B96CFE #FEB96C #6CFEB9
tetradic
#B96CFE #FE706C #B1FE6C #6CFAFE
square
#B96CFE #FE706C #B1FE6C #6CFAFE
split-complementary
#B96CFE #FAFE6C #6CFE70
monochromatic
#7E02EE #9C2FFE #B96CFE #D6A9FE #F1E1FF

Accessibility & contrast

On white

3.16
#B96CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B96CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CFE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CFE#FFFFFF#000000##000000
##B96CFE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#AD88AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96cfe;
/* rgb */ color: rgb(185, 108, 254);
/* oklch */ color: oklch(68.0% 0.213 305.8);
Tailwind
colors: {
  custom: {
    50: '#d299ff',
    500: '#b96cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b96cfe;
$custom-light: #d299ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cfe",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 271.644,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67988,
    "c": 0.2131,
    "h": 305.8
  },
  "luminance": 0.28195
}

Semantic roles & 50–950 ramp

primary
#B96CFE
secondary
#E2F6CF
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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