#B96CF5#B96CF5

#B96CF5 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.5% C 0.203 H 307.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B96CF5
RGBrgb(185, 108, 245)
HSLhsl(274, 87%, 69%)
HSVhsv(274, 56%, 96%)
CMYKcmyk(24.5%, 55.9%, 0%, 3.9%)
CIE-LABlab(59.56, 54.71, -57.08)
CIE-LCHlch(59.56, 79.06, 313.79°)
OKLaboklab(67.45% 0.1246 -0.1606)
OKLCHoklch(67.45% 0.203 307.8)
XYZxyz(41.8482, 27.6325, 89.4975)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CF5 #A8F56C
analogous
#756CF5 #B96CF5 #F56CEC
triadic
#B96CF5 #F5B96C #6CF5B9
tetradic
#B96CF5 #F5756C #A8F56C #6CECF5
square
#B96CF5 #F5756C #A8F56C #6CECF5
split-complementary
#B96CF5 #ECF56C #6CF575
monochromatic
#800FD8 #9E33F1 #B96CF5 #D4A5F9 #F0DFFD

Accessibility & contrast

On white

3.22
#B96CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B96CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CF5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CF5#FFFFFF#000000##000000
##B96CF51.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF9
Deuteranopia (green-blind)
#5990F2
Tritanopia (blue-blind)
#B085A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96cf5;
/* rgb */ color: rgb(185, 108, 245);
/* oklch */ color: oklch(67.5% 0.203 307.8);
Tailwind
colors: {
  custom: {
    50: '#d199f9',
    500: '#b96cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b96cf5;
$custom-light: #d199f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cf5",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 273.723,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67451,
    "c": 0.20326,
    "h": 307.8
  },
  "luminance": 0.27632
}

Semantic roles & 50–950 ramp

primary
#B96CF5
secondary
#DCF2CA
accent
#E40265
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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