#B557BC#B557BC

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

Color values

HEX#B557BC
RGBrgb(181, 87, 188)
HSLhsl(296, 43%, 54%)
HSVhsv(296, 54%, 74%)
CMYKcmyk(3.7%, 53.7%, 0%, 26.3%)
CIE-LABlab(52.14, 52.44, -36.62)
CIE-LCHlch(52.14, 63.96, 325.07°)
OKLaboklab(60.94% 0.1431 -0.1011)
OKLCHoklch(60.94% 0.175 324.8)
XYZxyz(31.5406, 20.2726, 49.8189)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557BC #5EBC57
analogous
#8357BC #B557BC #BC5791
triadic
#B557BC #BCB557 #57BCB5
tetradic
#B557BC #BC8357 #5EBC57 #5791BC
square
#B557BC #BC8357 #5EBC57 #5791BC
split-complementary
#B557BC #91BC57 #57BC83
monochromatic
#692C6D #923D99 #B557BC #C883CD #DCAFDF

Accessibility & contrast

On white

4.15
#B557BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B557BC#FFFFFF#000000##000000
##B557BC1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#6880B9
Tritanopia (blue-blind)
#B96481
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b557bc;
/* rgb */ color: rgb(181, 87, 188);
/* oklch */ color: oklch(60.9% 0.175 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd8bd0',
    500: '#b557bc',
    950: '#000000',
  },
}
SCSS
$custom: #b557bc;
$custom-light: #cd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b557bc",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 295.842,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.17522,
    "h": 324.8
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#B557BC
secondary
#A5CDA2
accent
#D3555E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B557BC

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

Preview Lab → · Contrast checker → · Palette generator →

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