#B96AF2#B96AF2

#B96AF2 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.0% C 0.203 H 308.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B96AF2
RGBrgb(185, 106, 242)
HSLhsl(275, 84%, 68%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.6%, 56.2%, 0%, 5.1%)
CIE-LABlab(59.01, 55.06, -56.29)
CIE-LCHlch(59.01, 78.74, 314.37°)
OKLaboklab(66.99% 0.127 -0.1583)
OKLCHoklch(66.99% 0.203 308.7)
XYZxyz(41.1855, 27.0338, 87.0356)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AF2 #A3F26A
analogous
#756AF2 #B96AF2 #F26AE7
triadic
#B96AF2 #F2B96A #6AF2B9
tetradic
#B96AF2 #F2756A #A3F26A #6AE7F2
square
#B96AF2 #F2756A #A3F26A #6AE7F2
split-complementary
#B96AF2 #E7F26A #6AF275
monochromatic
#8012CF #9F32ED #B96AF2 #D3A2F7 #EEDBFC

Accessibility & contrast

On white

3.28
#B96AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B96AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AF2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AF2#FFFFFF#000000##000000
##B96AF21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#B183A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96af2;
/* rgb */ color: rgb(185, 106, 242);
/* oklch */ color: oklch(67.0% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#d198f7',
    500: '#b96af2',
    950: '#000000',
  },
}
SCSS
$custom: #b96af2;
$custom-light: #d198f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b96af2",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 274.853,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.20293,
    "h": 308.7
  },
  "luminance": 0.27033
}

Semantic roles & 50–950 ramp

primary
#B96AF2
secondary
#D9F1C7
accent
#E00561
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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