#B956DB#B956DB

#B956DB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.0% C 0.208 H 316.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B956DB
RGBrgb(185, 86, 219)
HSLhsl(285, 65%, 60%)
HSVhsv(285, 61%, 86%)
CMYKcmyk(15.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(54.12, 59.93, -51.20)
CIE-LCHlch(54.12, 78.82, 319.49°)
OKLaboklab(63.02% 0.1511 -0.1433)
OKLCHoklch(63.02% 0.208 316.5)
XYZxyz(36.1196, 22.0857, 69.3644)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956DB #78DB56
analogous
#7756DB #B956DB #DB56BA
triadic
#B956DB #DBB956 #56DBB9
tetradic
#B956DB #DB7756 #78DB56 #56BADB
square
#B956DB #DB7756 #78DB56 #56BADB
split-complementary
#B956DB #BADB56 #56DB77
monochromatic
#782097 #A12BC9 #B956DB #CE88E6 #E3BBF0

Accessibility & contrast

On white

3.88
#B956DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B956DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956DB#FFFFFF#000000##000000
##B956DB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#5884D8
Tritanopia (blue-blind)
#B76D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b956db;
/* rgb */ color: rgb(185, 86, 219);
/* oklch */ color: oklch(63.0% 0.208 316.5);
Tailwind
colors: {
  custom: {
    50: '#d18be7',
    500: '#b956db',
    950: '#000000',
  },
}
SCSS
$custom: #b956db;
$custom-light: #d18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b956db",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 284.662,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.20824,
    "h": 316.5
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#B956DB
secondary
#BAE0AD
accent
#E8406B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B956DB

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

Preview Lab → · Contrast checker → · Palette generator →

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