#BB57BC#BB57BC

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

Color values

HEX#BB57BC
RGBrgb(187, 87, 188)
HSLhsl(299, 43%, 54%)
HSVhsv(299, 54%, 74%)
CMYKcmyk(0.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(52.96, 54.08, -35.28)
CIE-LCHlch(52.96, 64.57, 326.88°)
OKLaboklab(61.71% 0.15 -0.0971)
OKLCHoklch(61.71% 0.179 327.1)
XYZxyz(32.9782, 21.0139, 49.8863)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57BC #58BC57
analogous
#8957BC #BB57BC #BC578B
triadic
#BB57BC #BCBB57 #57BCBB
tetradic
#BB57BC #BC8957 #58BC57 #578BBC
square
#BB57BC #BC8957 #58BC57 #578BBC
split-complementary
#BB57BC #8BBC57 #57BC89
monochromatic
#6C2C6D #983D99 #BB57BC #CD83CD #DEAFDF

Accessibility & contrast

On white

4.04
#BB57BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57BC#FFFFFF#000000##000000
##BB57BC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#C06381
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb57bc;
/* rgb */ color: rgb(187, 87, 188);
/* oklch */ color: oklch(61.7% 0.179 327.1);
Tailwind
colors: {
  custom: {
    50: '#d28bd0',
    500: '#bb57bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb57bc;
$custom-light: #d28bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57bc",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 299.406,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.1787,
    "h": 327.1
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#BB57BC
secondary
#A2CDA2
accent
#D35556
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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