#B557CD#B557CD

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

Color values

HEX#B557CD
RGBrgb(181, 87, 205)
HSLhsl(288, 54%, 57%)
HSVhsv(288, 58%, 80%)
CMYKcmyk(11.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(53.00, 55.70, -45.04)
CIE-LCHlch(53.00, 71.63, 321.04°)
OKLaboklab(61.85% 0.1446 -0.1255)
OKLCHoklch(61.85% 0.191 319.1)
XYZxyz(33.4823, 21.0493, 60.0450)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557CD #6FCD57
analogous
#7A57CD #B557CD #CD57AA
triadic
#B557CD #CDB557 #57CDB5
tetradic
#B557CD #CD7A57 #6FCD57 #57AACD
square
#B557CD #CD7A57 #6FCD57 #57AACD
split-complementary
#B557CD #AACD57 #57CD7A
monochromatic
#702783 #9835B2 #B557CD #CA86DB #DFB5E9

Accessibility & contrast

On white

4.03
#B557CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B557CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557CD#FFFFFF#000000##000000
##B557CD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#B5698A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b557cd;
/* rgb */ color: rgb(181, 87, 205);
/* oklch */ color: oklch(61.8% 0.191 319.1);
Tailwind
colors: {
  custom: {
    50: '#ce8bdd',
    500: '#b557cd',
    950: '#000000',
  },
}
SCSS
$custom: #b557cd;
$custom-light: #ce8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b557cd",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 287.797,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.19145,
    "h": 319.1
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#B557CD
secondary
#B2D8A8
accent
#DD4A68
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B557CD

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

Preview Lab → · Contrast checker → · Palette generator →

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