#B96CF2#B96CF2

#B96CF2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.200 H 308.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B96CF2
RGBrgb(185, 108, 242)
HSLhsl(274, 84%, 69%)
HSVhsv(274, 55%, 95%)
CMYKcmyk(23.6%, 55.4%, 0%, 5.1%)
CIE-LABlab(59.39, 54.04, -55.68)
CIE-LCHlch(59.39, 77.60, 314.14°)
OKLaboklab(67.28% 0.1245 -0.1565)
OKLCHoklch(67.28% 0.2 308.5)
XYZxyz(41.3940, 27.4508, 87.1051)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CF2 #A5F26C
analogous
#766CF2 #B96CF2 #F26CE8
triadic
#B96CF2 #F2B96C #6CF2B9
tetradic
#B96CF2 #F2766C #A5F26C #6CE8F2
square
#B96CF2 #F2766C #A5F26C #6CE8F2
split-complementary
#B96CF2 #E8F26C #6CF276
monochromatic
#8012D1 #9E34ED #B96CF2 #D4A4F7 #EFDCFC

Accessibility & contrast

On white

3.24
#B96CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B96CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CF2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CF2#FFFFFF#000000##000000
##B96CF21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#B184A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96cf2;
/* rgb */ color: rgb(185, 108, 242);
/* oklch */ color: oklch(67.3% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#d199f7',
    500: '#b96cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b96cf2;
$custom-light: #d199f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cf2",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 274.478,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.19998,
    "h": 308.5
  },
  "luminance": 0.2745
}

Semantic roles & 50–950 ramp

primary
#B96CF2
secondary
#DAF1C9
accent
#E00562
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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