#B56BB2#B56BB2

#B56BB2 is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.4% C 0.132 H 328.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B56BB2
RGBrgb(181, 107, 178)
HSLhsl(302, 33%, 56%)
HSVhsv(302, 41%, 71%)
CMYKcmyk(0%, 40.9%, 1.7%, 29%)
CIE-LABlab(55.64, 40.30, -25.41)
CIE-LCHlch(55.64, 47.64, 327.77°)
OKLaboklab(63.39% 0.1126 -0.0692)
OKLCHoklch(63.39% 0.132 328.4)
XYZxyz(32.3491, 23.5551, 44.9535)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BB2 #6BB56E
analogous
#936BB5 #B56BB2 #B56B8D
triadic
#B56BB2 #B2B56B #6BB2B5
tetradic
#B56BB2 #B5936B #6BB56E #6B8DB5
square
#B56BB2 #B5936B #6BB56E #6B8DB5
split-complementary
#B56BB2 #8DB56B #6BB593
monochromatic
#6E376C #974C94 #B56BB2 #C994C7 #DEBDDC

Accessibility & contrast

On white

3.68
#B56BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B56BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BB2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BB2#FFFFFF#000000##000000
##B56BB21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#7A89B0
Tritanopia (blue-blind)
#BA7186
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b56bb2;
/* rgb */ color: rgb(181, 107, 178);
/* oklch */ color: oklch(63.4% 0.132 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc97c9',
    500: '#b56bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b56bb2;
$custom-light: #cc97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bb2",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 302.432,
    "s": 33.333,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.13217,
    "h": 328.4
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#B56BB2
secondary
#AFCDB0
accent
#C9635E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #B56BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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