#B96DF2#B96DF2

#B96DF2 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.4% C 0.198 H 308.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B96DF2
RGBrgb(185, 109, 242)
HSLhsl(274, 84%, 69%)
HSVhsv(274, 55%, 95%)
CMYKcmyk(23.6%, 55%, 0%, 5.1%)
CIE-LABlab(59.58, 53.53, -55.37)
CIE-LCHlch(59.58, 77.02, 314.03°)
OKLaboklab(67.42% 0.1232 -0.1556)
OKLCHoklch(67.42% 0.198 308.4)
XYZxyz(41.5001, 27.6630, 87.1404)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF2 #A6F26D
analogous
#776DF2 #B96DF2 #F26DE8
triadic
#B96DF2 #F2B96D #6DF2B9
tetradic
#B96DF2 #F2776D #A6F26D #6DE8F2
square
#B96DF2 #F2776D #A6F26D #6DE8F2
split-complementary
#B96DF2 #E8F26D #6DF277
monochromatic
#8013D2 #9E35ED #B96DF2 #D4A5F7 #EFDDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B96DF2#FFFFFF#000000##000000
##B96DF21.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#B185A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96df2;
/* rgb */ color: rgb(185, 109, 242);
/* oklch */ color: oklch(67.4% 0.198 308.4);
Tailwind
colors: {
  custom: {
    50: '#d19af7',
    500: '#b96df2',
    950: '#000000',
  },
}
SCSS
$custom: #b96df2;
$custom-light: #d19af7;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df2",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 274.286,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67418,
    "c": 0.19849,
    "h": 308.4
  },
  "luminance": 0.27662
}

Semantic roles & 50–950 ramp

primary
#B96DF2
secondary
#DBF1CA
accent
#E00563
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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