#B96FFE#B96FFE

#B96FFE is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.4% C 0.209 H 305.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B96FFE
RGBrgb(185, 111, 254)
HSLhsl(271, 99%, 72%)
HSVhsv(271, 56%, 100%)
CMYKcmyk(27.2%, 56.3%, 0%, 0.4%)
CIE-LABlab(60.64, 55.21, -60.32)
CIE-LCHlch(60.64, 81.77, 312.47°)
OKLaboklab(68.41% 0.1211 -0.1701)
OKLCHoklch(68.41% 0.209 305.4)
XYZxyz(43.5776, 28.8392, 97.0175)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FFE #B4FE6F
analogous
#726FFE #B96FFE #FE6FFC
triadic
#B96FFE #FEB96F #6FFEB9
tetradic
#B96FFE #FE726F #B4FE6F #6FFCFE
square
#B96FFE #FE726F #B4FE6F #6FFCFE
split-complementary
#B96FFE #FCFE6F #6FFE72
monochromatic
#7D02F1 #9B32FE #B96FFE #D7ACFE #F0E1FF

Accessibility & contrast

On white

3.10
#B96FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B96FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FFE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FFE#FFFFFF#000000##000000
##B96FFE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#AD8BAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b96ffe;
/* rgb */ color: rgb(185, 111, 254);
/* oklch */ color: oklch(68.4% 0.209 305.4);
Tailwind
colors: {
  custom: {
    50: '#d29bff',
    500: '#b96ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b96ffe;
$custom-light: #d29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ffe",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 271.049,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68409,
    "c": 0.2088,
    "h": 305.4
  },
  "luminance": 0.28839
}

Semantic roles & 50–950 ramp

primary
#B96FFE
secondary
#E4F7D2
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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