#B96FE4#B96FE4

#B96FE4 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.180 H 311.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B96FE4
RGBrgb(185, 111, 228)
HSLhsl(278, 68%, 66%)
HSVhsv(278, 51%, 89%)
CMYKcmyk(18.9%, 51.3%, 0%, 10.6%)
CIE-LABlab(59.24, 49.43, -48.13)
CIE-LCHlch(59.24, 68.99, 315.77°)
OKLaboklab(66.92% 0.1197 -0.1345)
OKLCHoklch(66.92% 0.18 311.7)
XYZxyz(39.6931, 27.2854, 76.5594)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FE4 #9AE46F
analogous
#7F6FE4 #B96FE4 #E46FD4
triadic
#B96FE4 #E4B96F #6FE4B9
tetradic
#B96FE4 #E47F6F #9AE46F #6FD4E4
square
#B96FE4 #E47F6F #9AE46F #6FD4E4
split-complementary
#B96FE4 #D4E46F #6FE47F
monochromatic
#8022B6 #A03BDA #B96FE4 #D2A3EE #EBD6F7

Accessibility & contrast

On white

3.25
#B96FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B96FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FE4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FE4#FFFFFF#000000##000000
##B96FE41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#B4829F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96fe4;
/* rgb */ color: rgb(185, 111, 228);
/* oklch */ color: oklch(66.9% 0.180 311.7);
Tailwind
colors: {
  custom: {
    50: '#d09bed',
    500: '#b96fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b96fe4;
$custom-light: #d09bed;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fe4",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 277.949,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66924,
    "c": 0.18003,
    "h": 311.7
  },
  "luminance": 0.27285
}

Semantic roles & 50–950 ramp

primary
#B96FE4
secondary
#D2EAC4
accent
#D0155A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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