#B956DC#B956DC

#B956DC is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.209 H 316.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B956DC
RGBrgb(185, 86, 220)
HSLhsl(284, 66%, 60%)
HSVhsv(284, 61%, 86%)
CMYKcmyk(15.9%, 60.9%, 0%, 13.7%)
CIE-LABlab(54.17, 60.13, -51.67)
CIE-LCHlch(54.17, 79.28, 319.33°)
OKLaboklab(63.08% 0.1511 -0.1447)
OKLCHoklch(63.08% 0.209 316.2)
XYZxyz(36.2517, 22.1385, 70.0598)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956DC #79DC56
analogous
#7656DC #B956DC #DC56BC
triadic
#B956DC #DCB956 #56DCB9
tetradic
#B956DC #DC7656 #79DC56 #56BCDC
square
#B956DC #DC7656 #79DC56 #56BCDC
split-complementary
#B956DC #BCDC56 #56DC76
monochromatic
#792098 #A12ACB #B956DC #CE89E6 #E3BBF1

Accessibility & contrast

On white

3.87
#B956DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B956DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956DC#FFFFFF#000000##000000
##B956DC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BE0
Deuteranopia (green-blind)
#5784D9
Tritanopia (blue-blind)
#B76D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b956dc;
/* rgb */ color: rgb(185, 86, 220);
/* oklch */ color: oklch(63.1% 0.209 316.2);
Tailwind
colors: {
  custom: {
    50: '#d18be7',
    500: '#b956dc',
    950: '#000000',
  },
}
SCSS
$custom: #b956dc;
$custom-light: #d18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b956dc",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 284.328,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.20921,
    "h": 316.2
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

primary
#B956DC
secondary
#BBE1AD
accent
#E93F6B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B956DC

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

Preview Lab → · Contrast checker → · Palette generator →

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