#BB5AAC#BB5AAC

#BB5AAC is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.4% C 0.160 H 333.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB5AAC
RGBrgb(187, 90, 172)
HSLhsl(309, 42%, 54%)
HSVhsv(309, 52%, 73%)
CMYKcmyk(0%, 51.9%, 8%, 26.7%)
CIE-LABlab(52.79, 49.84, -26.26)
CIE-LCHlch(52.79, 56.34, 332.21°)
OKLaboklab(61.35% 0.1433 -0.0713)
OKLCHoklch(61.35% 0.16 333.5)
XYZxyz(31.5961, 20.8578, 41.3835)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AAC #5ABB69
analogous
#9A5ABB #BB5AAC #BB5A7C
triadic
#BB5AAC #ACBB5A #5AACBB
tetradic
#BB5AAC #BB9A5A #5ABB69 #5A7CBB
square
#BB5AAC #BB9A5A #5ABB69 #5A7CBB
split-complementary
#BB5AAC #7CBB5A #5ABB9A
monochromatic
#6D2D64 #993F8B #BB5AAC #CD85C2 #DFB1D8

Accessibility & contrast

On white

4.06
#BB5AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB5AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AAC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AAC#FFFFFF#000000##000000
##BB5AAC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#C2607B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aac;
/* rgb */ color: rgb(187, 90, 172);
/* oklch */ color: oklch(61.4% 0.160 333.5);
Tailwind
colors: {
  custom: {
    50: '#d28dc5',
    500: '#bb5aac',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aac;
$custom-light: #d28dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aac",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 309.278,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.16007,
    "h": 333.5
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#BB5AAC
secondary
#A4CDAA
accent
#D16956
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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