#BB57AF#BB57AF

#BB57AF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.1% C 0.167 H 332.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB57AF
RGBrgb(187, 87, 175)
HSLhsl(307, 42%, 54%)
HSVhsv(307, 53%, 73%)
CMYKcmyk(0%, 53.5%, 6.4%, 26.7%)
CIE-LABlab(52.37, 51.81, -28.66)
CIE-LCHlch(52.37, 59.21, 331.05°)
OKLaboklab(61.08% 0.1481 -0.0781)
OKLCHoklch(61.08% 0.167 332.2)
XYZxyz(31.6395, 20.4784, 42.8354)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57AF #57BB63
analogous
#9557BB #BB57AF #BB577D
triadic
#BB57AF #AFBB57 #57AFBB
tetradic
#BB57AF #BB9557 #57BB63 #577DBB
square
#BB57AF #BB9557 #57BB63 #577DBB
split-complementary
#BB57AF #7DBB57 #57BB95
monochromatic
#6C2C64 #973D8D #BB57AF #CD83C4 #DEAED8

Accessibility & contrast

On white

4.12
#BB57AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB57AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57AF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57AF#FFFFFF#000000##000000
##BB57AF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#C25E7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb57af;
/* rgb */ color: rgb(187, 87, 175);
/* oklch */ color: oklch(61.1% 0.167 332.2);
Tailwind
colors: {
  custom: {
    50: '#d28bc7',
    500: '#bb57af',
    950: '#000000',
  },
}
SCSS
$custom: #bb57af;
$custom-light: #d28bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57af",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 307.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61084,
    "c": 0.16742,
    "h": 332.2
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#BB57AF
secondary
#A2CCA7
accent
#D26556
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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