#B96BF2#B96BF2

#B96BF2 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.1% C 0.201 H 308.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B96BF2
RGBrgb(185, 107, 242)
HSLhsl(275, 84%, 68%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.6%, 55.8%, 0%, 5.1%)
CIE-LABlab(59.20, 54.55, -55.99)
CIE-LCHlch(59.20, 78.17, 314.26°)
OKLaboklab(67.14% 0.1257 -0.1574)
OKLCHoklch(67.14% 0.201 308.6)
XYZxyz(41.2891, 27.2411, 87.0701)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF2 #A4F26B
analogous
#756BF2 #B96BF2 #F26BE7
triadic
#B96BF2 #F2B96B #6BF2B9
tetradic
#B96BF2 #F2756B #A4F26B #6BE7F2
square
#B96BF2 #F2756B #A4F26B #6BE7F2
split-complementary
#B96BF2 #E7F26B #6BF275
monochromatic
#8012D0 #9E33ED #B96BF2 #D4A3F7 #EEDCFC

Accessibility & contrast

On white

3.26
#B96BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B96BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF2#FFFFFF#000000##000000
##B96BF21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#B184A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bf2;
/* rgb */ color: rgb(185, 107, 242);
/* oklch */ color: oklch(67.1% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#d198f7',
    500: '#b96bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf2;
$custom-light: #d198f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf2",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 274.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67135,
    "c": 0.20146,
    "h": 308.6
  },
  "luminance": 0.2724
}

Semantic roles & 50–950 ramp

primary
#B96BF2
secondary
#D9F1C8
accent
#E00562
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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