#B96FF2#B96FF2

#B96FF2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.7% C 0.196 H 308.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B96FF2
RGBrgb(185, 111, 242)
HSLhsl(274, 83%, 69%)
HSVhsv(274, 54%, 95%)
CMYKcmyk(23.6%, 54.1%, 0%, 5.1%)
CIE-LABlab(59.97, 52.50, -54.75)
CIE-LCHlch(59.97, 75.86, 313.80°)
OKLaboklab(67.71% 0.1207 -0.1538)
OKLCHoklch(67.71% 0.196 308.1)
XYZxyz(41.7158, 28.0945, 87.2124)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FF2 #A8F26F
analogous
#786FF2 #B96FF2 #F26FEA
triadic
#B96FF2 #F2B96F #6FF2B9
tetradic
#B96FF2 #F2786F #A8F26F #6FEAF2
square
#B96FF2 #F2786F #A8F26F #6FEAF2
split-complementary
#B96FF2 #EAF26F #6FF278
monochromatic
#8013D4 #9E37ED #B96FF2 #D4A7F7 #F0DFFC

Accessibility & contrast

On white

3.17
#B96FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B96FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FF2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FF2#FFFFFF#000000##000000
##B96FF21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#B187A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96ff2;
/* rgb */ color: rgb(185, 111, 242);
/* oklch */ color: oklch(67.7% 0.196 308.1);
Tailwind
colors: {
  custom: {
    50: '#d19bf7',
    500: '#b96ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b96ff2;
$custom-light: #d19bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ff2",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 273.893,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67705,
    "c": 0.1955,
    "h": 308.1
  },
  "luminance": 0.28094
}

Semantic roles & 50–950 ramp

primary
#B96FF2
secondary
#DCF1CB
accent
#E00665
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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