#B557CA#B557CA

#B557CA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.189 H 320.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B557CA
RGBrgb(181, 87, 202)
HSLhsl(289, 52%, 57%)
HSVhsv(289, 57%, 79%)
CMYKcmyk(10.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(52.85, 55.11, -43.57)
CIE-LCHlch(52.85, 70.25, 321.67°)
OKLaboklab(61.68% 0.1444 -0.1212)
OKLCHoklch(61.68% 0.189 320)
XYZxyz(33.1236, 20.9059, 58.1561)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557CA #6CCA57
analogous
#7C57CA #B557CA #CA57A6
triadic
#B557CA #CAB557 #57CAB5
tetradic
#B557CA #CA7C57 #6CCA57 #57A6CA
square
#B557CA #CA7C57 #6CCA57 #57A6CA
split-complementary
#B557CA #A6CA57 #57CA7C
monochromatic
#6F287F #9837AD #B557CA #C986D9 #DEB4E7

Accessibility & contrast

On white

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

On black

5.18
#B557CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557CA#FFFFFF#000000##000000
##B557CA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#6082C7
Tritanopia (blue-blind)
#B66888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b557ca;
/* rgb */ color: rgb(181, 87, 202);
/* oklch */ color: oklch(61.7% 0.189 320.0);
Tailwind
colors: {
  custom: {
    50: '#ce8bda',
    500: '#b557ca',
    950: '#000000',
  },
}
SCSS
$custom: #b557ca;
$custom-light: #ce8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b557ca",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 289.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61682,
    "c": 0.18854,
    "h": 320
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#B557CA
secondary
#AFD6A7
accent
#DB4C66
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B557CA

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

Preview Lab → · Contrast checker → · Palette generator →

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