#B557BB#B557BB

#B557BB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.174 H 325.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B557BB
RGBrgb(181, 87, 187)
HSLhsl(296, 42%, 54%)
HSVhsv(296, 53%, 73%)
CMYKcmyk(3.2%, 53.5%, 0%, 26.7%)
CIE-LABlab(52.10, 52.25, -36.12)
CIE-LCHlch(52.10, 63.52, 325.34°)
OKLaboklab(60.89% 0.143 -0.0996)
OKLCHoklch(60.89% 0.174 325.1)
XYZxyz(31.4332, 20.2297, 49.2531)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557BB #5DBB57
analogous
#8357BB #B557BB #BB578F
triadic
#B557BB #BBB557 #57BBB5
tetradic
#B557BB #BB8357 #5DBB57 #578FBB
square
#B557BB #BB8357 #5DBB57 #578FBB
split-complementary
#B557BB #8FBB57 #57BB83
monochromatic
#682C6C #923D97 #B557BB #C883CD #DBAEDE

Accessibility & contrast

On white

4.16
#B557BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B557BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557BB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557BB#FFFFFF#000000##000000
##B557BB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#B96381
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b557bb;
/* rgb */ color: rgb(181, 87, 187);
/* oklch */ color: oklch(60.9% 0.174 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd8bd0',
    500: '#b557bb',
    950: '#000000',
  },
}
SCSS
$custom: #b557bb;
$custom-light: #cd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b557bb",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 296.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.17429,
    "h": 325.1
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#B557BB
secondary
#A4CCA2
accent
#D2565D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B557BB

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

Preview Lab → · Contrast checker → · Palette generator →

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