#BB5AAB#BB5AAB

#BB5AAB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.159 H 334.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BB5AAB
RGBrgb(187, 90, 171)
HSLhsl(310, 42%, 54%)
HSVhsv(310, 52%, 73%)
CMYKcmyk(0%, 51.9%, 8.6%, 26.7%)
CIE-LABlab(52.75, 49.67, -25.75)
CIE-LCHlch(52.75, 55.95, 332.60°)
OKLaboklab(61.31% 0.1431 -0.0699)
OKLCHoklch(61.31% 0.159 334)
XYZxyz(31.5004, 20.8195, 40.8796)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AAB #5ABB6A
analogous
#9B5ABB #BB5AAB #BB5A7B
triadic
#BB5AAB #ABBB5A #5AABBB
tetradic
#BB5AAB #BB9B5A #5ABB6A #5A7BBB
square
#BB5AAB #BB9B5A #5ABB6A #5A7BBB
split-complementary
#BB5AAB #7BBB5A #5ABB9B
monochromatic
#6D2D63 #993F8A #BB5AAB #CD85C1 #DFB1D7

Accessibility & contrast

On white

4.07
#BB5AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB5AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AAB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AAB#FFFFFF#000000##000000
##BB5AAB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#C3607B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aab;
/* rgb */ color: rgb(187, 90, 171);
/* oklch */ color: oklch(61.3% 0.159 334.0);
Tailwind
colors: {
  custom: {
    50: '#d28dc4',
    500: '#bb5aab',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aab;
$custom-light: #d28dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aab",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 309.897,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.15924,
    "h": 334
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

primary
#BB5AAB
secondary
#A4CDAB
accent
#D16B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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