#B96FF7#B96FF7

#B96FF7 is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.0% C 0.201 H 307.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B96FF7
RGBrgb(185, 111, 247)
HSLhsl(273, 89%, 70%)
HSVhsv(273, 55%, 97%)
CMYKcmyk(25.1%, 55.1%, 0%, 3.1%)
CIE-LABlab(60.25, 53.62, -57.08)
CIE-LCHlch(60.25, 78.32, 313.21°)
OKLaboklab(68% 0.1209 -0.1606)
OKLCHoklch(68% 0.201 307)
XYZxyz(42.4771, 28.3990, 91.2215)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FF7 #ADF76F
analogous
#756FF7 #B96FF7 #F76FF1
triadic
#B96FF7 #F7B96F #6FF7B9
tetradic
#B96FF7 #F7756F #ADF76F #6FF1F7
square
#B96FF7 #F7756F #ADF76F #6FF1F7
split-complementary
#B96FF7 #F1F76F #6FF775
monochromatic
#7F0CDF #9D35F4 #B96FF7 #D5A9FA #F1E2FD

Accessibility & contrast

On white

3.14
#B96FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B96FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FF7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FF7#FFFFFF#000000##000000
##B96FF71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#AF88A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ff7;
/* rgb */ color: rgb(185, 111, 247);
/* oklch */ color: oklch(68.0% 0.201 307.0);
Tailwind
colors: {
  custom: {
    50: '#d19bfa',
    500: '#b96ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b96ff7;
$custom-light: #d19bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ff7",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 272.647,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.20104,
    "h": 307
  },
  "luminance": 0.28399
}

Semantic roles & 50–950 ramp

primary
#B96FF7
secondary
#DFF4CE
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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