#B956DF#B956DF

#B956DF is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.212 H 315.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B956DF
RGBrgb(185, 86, 223)
HSLhsl(283, 68%, 61%)
HSVhsv(283, 61%, 87%)
CMYKcmyk(17%, 61.4%, 0%, 12.5%)
CIE-LABlab(54.34, 60.74, -53.10)
CIE-LCHlch(54.34, 80.67, 318.84°)
OKLaboklab(63.25% 0.1511 -0.1489)
OKLCHoklch(63.25% 0.212 315.4)
XYZxyz(36.6526, 22.2988, 72.1711)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956DF #7CDF56
analogous
#7556DF #B956DF #DF56C0
triadic
#B956DF #DFB956 #56DFB9
tetradic
#B956DF #DF7556 #7CDF56 #56C0DF
square
#B956DF #DF7556 #7CDF56 #56C0DF
split-complementary
#B956DF #C0DF56 #56DF75
monochromatic
#7A1E9D #A227D0 #B956DF #CE89E9 #E4BDF2

Accessibility & contrast

On white

3.85
#B956DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B956DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956DF#FFFFFF#000000##000000
##B956DF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#277CE3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#B66F93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b956df;
/* rgb */ color: rgb(185, 86, 223);
/* oklch */ color: oklch(63.3% 0.212 315.4);
Tailwind
colors: {
  custom: {
    50: '#d18bea',
    500: '#b956df',
    950: '#000000',
  },
}
SCSS
$custom: #b956df;
$custom-light: #d18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b956df",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 283.358,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.21212,
    "h": 315.4
  },
  "luminance": 0.22298
}

Semantic roles & 50–950 ramp

primary
#B956DF
secondary
#BDE2AE
accent
#D01549
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B956DF

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

Preview Lab → · Contrast checker → · Palette generator →

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