#B557CF#B557CF

#B557CF is a mid, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.193 H 318.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B557CF
RGBrgb(181, 87, 207)
HSLhsl(287, 56%, 58%)
HSVhsv(287, 58%, 81%)
CMYKcmyk(12.6%, 58%, 0%, 18.8%)
CIE-LABlab(53.11, 56.09, -46.01)
CIE-LCHlch(53.11, 72.55, 320.64°)
OKLaboklab(61.96% 0.1447 -0.1283)
OKLCHoklch(61.96% 0.193 318.4)
XYZxyz(33.7252, 21.1465, 61.3246)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557CF #71CF57
analogous
#7957CF #B557CF #CF57AD
triadic
#B557CF #CFB557 #57CFB5
tetradic
#B557CF #CF7957 #71CF57 #57ADCF
square
#B557CF #CF7957 #71CF57 #57ADCF
split-complementary
#B557CF #ADCF57 #57CF79
monochromatic
#712685 #9934B5 #B557CF #CA87DD #DFB6EA

Accessibility & contrast

On white

4.02
#B557CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B557CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557CF#FFFFFF#000000##000000
##B557CF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D3
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#B56A8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b557cf;
/* rgb */ color: rgb(181, 87, 207);
/* oklch */ color: oklch(62.0% 0.193 318.4);
Tailwind
colors: {
  custom: {
    50: '#ce8bde',
    500: '#b557cf',
    950: '#000000',
  },
}
SCSS
$custom: #b557cf;
$custom-light: #ce8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b557cf",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 287,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.1934,
    "h": 318.4
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#B557CF
secondary
#B3D9A9
accent
#DF4969
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B557CF

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

Preview Lab → · Contrast checker → · Palette generator →

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