#B557CC#B557CC

#B557CC is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.190 H 319.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B557CC
RGBrgb(181, 87, 204)
HSLhsl(288, 53%, 57%)
HSVhsv(288, 57%, 80%)
CMYKcmyk(11.3%, 57.4%, 0%, 20%)
CIE-LABlab(52.95, 55.50, -44.55)
CIE-LCHlch(52.95, 71.17, 321.25°)
OKLaboklab(61.79% 0.1445 -0.124)
OKLCHoklch(61.79% 0.19 319.4)
XYZxyz(33.3619, 21.0012, 59.4113)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557CC #6ECC57
analogous
#7B57CC #B557CC #CC57A9
triadic
#B557CC #CCB557 #57CCB5
tetradic
#B557CC #CC7B57 #6ECC57 #57A9CC
square
#B557CC #CC7B57 #6ECC57 #57A9CC
split-complementary
#B557CC #A9CC57 #57CC7B
monochromatic
#702781 #9836B0 #B557CC #CA86DA #DEB5E9

Accessibility & contrast

On white

4.04
#B557CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B557CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557CC#FFFFFF#000000##000000
##B557CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#B56989
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b557cc;
/* rgb */ color: rgb(181, 87, 204);
/* oklch */ color: oklch(61.8% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#ce8bdc',
    500: '#b557cc',
    950: '#000000',
  },
}
SCSS
$custom: #b557cc;
$custom-light: #ce8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b557cc",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 288.205,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.19047,
    "h": 319.4
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#B557CC
secondary
#B1D7A8
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B557CC

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

Preview Lab → · Contrast checker → · Palette generator →

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