#BB57C2#BB57C2

#BB57C2 is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.0% C 0.184 H 324.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BB57C2
RGBrgb(187, 87, 194)
HSLhsl(296, 47%, 55%)
HSVhsv(296, 55%, 76%)
CMYKcmyk(3.6%, 55.2%, 0%, 23.9%)
CIE-LABlab(53.25, 55.17, -38.28)
CIE-LCHlch(53.25, 67.15, 325.24°)
OKLaboklab(62.02% 0.1507 -0.1057)
OKLCHoklch(62.02% 0.184 324.9)
XYZxyz(33.6385, 21.2780, 53.3637)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57C2 #5EC257
analogous
#8657C2 #BB57C2 #C25793
triadic
#BB57C2 #C2BB57 #57C2BB
tetradic
#BB57C2 #C28657 #5EC257 #5793C2
square
#BB57C2 #C28657 #5EC257 #5793C2
split-complementary
#BB57C2 #93C257 #57C286
monochromatic
#702A74 #9B3BA1 #BB57C2 #CD84D2 #DFB1E3

Accessibility & contrast

On white

4.00
#BB57C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BB57C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57C2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57C2#FFFFFF#000000##000000
##BB57C21.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#6984BF
Tritanopia (blue-blind)
#BF6584
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb57c2;
/* rgb */ color: rgb(187, 87, 194);
/* oklch */ color: oklch(62.0% 0.184 324.9);
Tailwind
colors: {
  custom: {
    50: '#d28bd5',
    500: '#bb57c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb57c2;
$custom-light: #d28bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57c2",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 296.075,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.18412,
    "h": 324.9
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#BB57C2
secondary
#A7D1A4
accent
#D6515A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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