#BB57BE#BB57BE

#BB57BE is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.180 H 326.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB57BE
RGBrgb(187, 87, 190)
HSLhsl(298, 44%, 54%)
HSVhsv(298, 54%, 75%)
CMYKcmyk(1.6%, 54.2%, 0%, 25.5%)
CIE-LABlab(53.06, 54.44, -36.28)
CIE-LCHlch(53.06, 65.43, 326.32°)
OKLaboklab(61.81% 0.1503 -0.1)
OKLCHoklch(61.81% 0.18 326.4)
XYZxyz(33.1953, 21.1008, 51.0296)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57BE #5ABE57
analogous
#8757BE #BB57BE #BE578E
triadic
#BB57BE #BEBB57 #57BEBB
tetradic
#BB57BE #BE8757 #5ABE57 #578EBE
square
#BB57BE #BE8757 #5ABE57 #578EBE
split-complementary
#BB57BE #8EBE57 #57BE87
monochromatic
#6D2B6F #993C9C #BB57BE #CD83CF #DFAFE0

Accessibility & contrast

On white

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

On black

5.22
#BB57BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57BE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57BE#FFFFFF#000000##000000
##BB57BE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C1
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#C06382
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb57be;
/* rgb */ color: rgb(187, 87, 190);
/* oklch */ color: oklch(61.8% 0.180 326.4);
Tailwind
colors: {
  custom: {
    50: '#d28bd2',
    500: '#bb57be',
    950: '#000000',
  },
}
SCSS
$custom: #bb57be;
$custom-light: #d28bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57be",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 298.252,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.18049,
    "h": 326.4
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#BB57BE
secondary
#A4CEA3
accent
#D45458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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