#B96CF7#B96CF7

#B96CF7 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.205 H 307.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B96CF7
RGBrgb(185, 108, 247)
HSLhsl(273, 90%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25.1%, 56.3%, 0%, 3.1%)
CIE-LABlab(59.67, 55.16, -58.01)
CIE-LCHlch(59.67, 80.04, 313.56°)
OKLaboklab(67.57% 0.1246 -0.1633)
OKLCHoklch(67.57% 0.205 307.3)
XYZxyz(42.1552, 27.7553, 91.1142)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CF7 #AAF76C
analogous
#746CF7 #B96CF7 #F76CF0
triadic
#B96CF7 #F7B96C #6CF7B9
tetradic
#B96CF7 #F7746C #AAF76C #6CF0F7
square
#B96CF7 #F7746C #AAF76C #6CF0F7
split-complementary
#B96CF7 #F0F76C #6CF774
monochromatic
#800CDD #9D32F4 #B96CF7 #D5A6FA #F0E0FD

Accessibility & contrast

On white

3.21
#B96CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B96CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CF7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CF7#FFFFFF#000000##000000
##B96CF71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#5790F4
Tritanopia (blue-blind)
#AF86A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96cf7;
/* rgb */ color: rgb(185, 108, 247);
/* oklch */ color: oklch(67.6% 0.205 307.3);
Tailwind
colors: {
  custom: {
    50: '#d199fa',
    500: '#b96cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b96cf7;
$custom-light: #d199fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cf7",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 273.237,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.20545,
    "h": 307.3
  },
  "luminance": 0.27755
}

Semantic roles & 50–950 ramp

primary
#B96CF7
secondary
#DDF3CC
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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