#B557CB#B557CB

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

Color values

HEX#B557CB
RGBrgb(181, 87, 203)
HSLhsl(289, 53%, 57%)
HSVhsv(289, 57%, 80%)
CMYKcmyk(10.8%, 57.1%, 0%, 20.4%)
CIE-LABlab(52.90, 55.30, -44.06)
CIE-LCHlch(52.90, 70.71, 321.46°)
OKLaboklab(61.74% 0.1445 -0.1226)
OKLCHoklch(61.74% 0.19 319.7)
XYZxyz(33.2424, 20.9534, 58.7817)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557CB #6DCB57
analogous
#7B57CB #B557CB #CB57A7
triadic
#B557CB #CBB557 #57CBB5
tetradic
#B557CB #CB7B57 #6DCB57 #57A7CB
square
#B557CB #CB7B57 #6DCB57 #57A7CB
split-complementary
#B557CB #A7CB57 #57CB7B
monochromatic
#6F2880 #9836AF #B557CB #CA86D9 #DEB4E8

Accessibility & contrast

On white

4.05
#B557CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B557CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557CB#FFFFFF#000000##000000
##B557CB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#5F82C8
Tritanopia (blue-blind)
#B66989
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b557cb;
/* rgb */ color: rgb(181, 87, 203);
/* oklch */ color: oklch(61.7% 0.190 319.7);
Tailwind
colors: {
  custom: {
    50: '#ce8bdb',
    500: '#b557cb',
    950: '#000000',
  },
}
SCSS
$custom: #b557cb;
$custom-light: #ce8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b557cb",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 288.621,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.18951,
    "h": 319.7
  },
  "luminance": 0.20952
}

Semantic roles & 50–950 ramp

primary
#B557CB
secondary
#B0D7A7
accent
#DC4C67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B557CB

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

Preview Lab → · Contrast checker → · Palette generator →

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