#B557DC#B557DC

#B557DC is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.7% C 0.206 H 314.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B557DC
RGBrgb(181, 87, 220)
HSLhsl(282, 66%, 60%)
HSVhsv(282, 60%, 86%)
CMYKcmyk(17.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(53.82, 58.71, -52.26)
CIE-LCHlch(53.82, 78.60, 318.33°)
OKLaboklab(62.71% 0.1451 -0.1465)
OKLCHoklch(62.71% 0.206 314.7)
XYZxyz(35.3804, 21.8086, 70.0420)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557DC #7EDC57
analogous
#7257DC #B557DC #DC57C0
triadic
#B557DC #DCB557 #57DCB5
tetradic
#B557DC #DC7257 #7EDC57 #57C0DC
square
#B557DC #DC7257 #7EDC57 #57C0DC
split-complementary
#B557DC #C0DC57 #57DC72
monochromatic
#752099 #9C2ACB #B557DC #CB8AE7 #E2BCF1

Accessibility & contrast

On white

3.92
#B557DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B557DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557DC#FFFFFF#000000##000000
##B557DC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#B26F92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b557dc;
/* rgb */ color: rgb(181, 87, 220);
/* oklch */ color: oklch(62.7% 0.206 314.7);
Tailwind
colors: {
  custom: {
    50: '#ce8be7',
    500: '#b557dc',
    950: '#000000',
  },
}
SCSS
$custom: #b557dc;
$custom-light: #ce8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b557dc",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 282.406,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.2062,
    "h": 314.7
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#B557DC
secondary
#BDE1AE
accent
#CD184D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B557DC

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

Preview Lab → · Contrast checker → · Palette generator →

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