#B96FE2#B96FE2

#B96FE2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.178 H 312.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B96FE2
RGBrgb(185, 111, 226)
HSLhsl(279, 66%, 66%)
HSVhsv(279, 51%, 89%)
CMYKcmyk(18.1%, 50.9%, 0%, 11.4%)
CIE-LABlab(59.14, 49.00, -47.17)
CIE-LCHlch(59.14, 68.02, 316.09°)
OKLaboklab(66.82% 0.1195 -0.1317)
OKLCHoklch(66.82% 0.178 312.2)
XYZxyz(39.4171, 27.1750, 75.1056)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FE2 #98E26F
analogous
#7F6FE2 #B96FE2 #E26FD1
triadic
#B96FE2 #E2B96F #6FE2B9
tetradic
#B96FE2 #E27F6F #98E26F #6FD1E2
square
#B96FE2 #E27F6F #98E26F #6FD1E2
split-complementary
#B96FE2 #D1E26F #6FE27F
monochromatic
#8024B3 #A03CD8 #B96FE2 #D2A2EC #EBD5F7

Accessibility & contrast

On white

3.26
#B96FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B96FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FE2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FE2#FFFFFF#000000##000000
##B96FE21.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#B5829E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96fe2;
/* rgb */ color: rgb(185, 111, 226);
/* oklch */ color: oklch(66.8% 0.178 312.2);
Tailwind
colors: {
  custom: {
    50: '#d09beb',
    500: '#b96fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b96fe2;
$custom-light: #d09beb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fe2",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 278.609,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.17783,
    "h": 312.2
  },
  "luminance": 0.27174
}

Semantic roles & 50–950 ramp

primary
#B96FE2
secondary
#D1E9C4
accent
#CE1758
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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