#B956D2#B956D2

#B956D2 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.5% C 0.200 H 319.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B956D2
RGBrgb(185, 86, 210)
HSLhsl(288, 58%, 58%)
HSVhsv(288, 59%, 82%)
CMYKcmyk(11.9%, 59%, 0%, 17.6%)
CIE-LABlab(53.63, 58.16, -46.87)
CIE-LCHlch(53.63, 74.69, 321.13°)
OKLaboklab(62.5% 0.1509 -0.1307)
OKLCHoklch(62.5% 0.2 319.1)
XYZxyz(34.9667, 21.6245, 63.2923)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956D2 #6FD256
analogous
#7B56D2 #B956D2 #D256AD
triadic
#B956D2 #D2B956 #56D2B9
tetradic
#B956D2 #D27B56 #6FD256 #56ADD2
square
#B956D2 #D27B56 #6FD256 #56ADD2
split-complementary
#B956D2 #ADD256 #56D27B
monochromatic
#752589 #9E31B9 #B956D2 #CD86DF #E1B7EC

Accessibility & contrast

On white

3.94
#B956D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B956D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956D2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956D2#FFFFFF#000000##000000
##B956D21.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#5E84CF
Tritanopia (blue-blind)
#B96A8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b956d2;
/* rgb */ color: rgb(185, 86, 210);
/* oklch */ color: oklch(62.5% 0.200 319.1);
Tailwind
colors: {
  custom: {
    50: '#d18be0',
    500: '#b956d2',
    950: '#000000',
  },
}
SCSS
$custom: #b956d2;
$custom-light: #d18be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b956d2",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 287.903,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.625,
    "c": 0.19959,
    "h": 319.1
  },
  "luminance": 0.21623
}

Semantic roles & 50–950 ramp

primary
#B956D2
secondary
#B3DBA9
accent
#E14766
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B956D2

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

Preview Lab → · Contrast checker → · Palette generator →

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