#B556D2#B556D2

#B556D2 is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.198 H 317.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B556D2
RGBrgb(181, 86, 210)
HSLhsl(286, 58%, 58%)
HSVhsv(286, 59%, 82%)
CMYKcmyk(13.8%, 59%, 0%, 17.6%)
CIE-LABlab(53.10, 57.16, -47.74)
CIE-LCHlch(53.10, 74.48, 320.13°)
OKLaboklab(62% 0.1461 -0.1333)
OKLCHoklch(62% 0.198 317.6)
XYZxyz(34.0151, 21.1338, 63.2477)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556D2 #73D256
analogous
#7756D2 #B556D2 #D256B1
triadic
#B556D2 #D2B556 #56D2B5
tetradic
#B556D2 #D27756 #73D256 #56B1D2
square
#B556D2 #D27756 #73D256 #56B1D2
split-complementary
#B556D2 #B1D256 #56D277
monochromatic
#722589 #9A31B9 #B556D2 #CA86DF #DFB7EC

Accessibility & contrast

On white

4.02
#B556D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B556D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556D2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556D2#FFFFFF#000000##000000
##B556D21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#B46A8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b556d2;
/* rgb */ color: rgb(181, 86, 210);
/* oklch */ color: oklch(62.0% 0.198 317.6);
Tailwind
colors: {
  custom: {
    50: '#ce8be0',
    500: '#b556d2',
    950: '#000000',
  },
}
SCSS
$custom: #b556d2;
$custom-light: #ce8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b556d2",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 285.968,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.1978,
    "h": 317.6
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#B556D2
secondary
#B5DBA9
accent
#E1476B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B556D2

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

Preview Lab → · Contrast checker → · Palette generator →

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