#BB5AAA#BB5AAA

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

Color values

HEX#BB5AAA
RGBrgb(187, 90, 170)
HSLhsl(311, 42%, 54%)
HSVhsv(311, 52%, 73%)
CMYKcmyk(0%, 51.9%, 9.1%, 26.7%)
CIE-LABlab(52.71, 49.51, -25.23)
CIE-LCHlch(52.71, 55.56, 333.00°)
OKLaboklab(61.26% 0.1429 -0.0684)
OKLCHoklch(61.26% 0.158 334.4)
XYZxyz(31.4054, 20.7815, 40.3795)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AAA #5ABB6B
analogous
#9B5ABB #BB5AAA #BB5A7A
triadic
#BB5AAA #AABB5A #5AAABB
tetradic
#BB5AAA #BB9B5A #5ABB6B #5A7ABB
square
#BB5AAA #BB9B5A #5ABB6B #5A7ABB
split-complementary
#BB5AAA #7ABB5A #5ABB9B
monochromatic
#6D2D62 #993F89 #BB5AAA #CD85C0 #DFB1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5AAA#FFFFFF#000000##000000
##BB5AAA1.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)
#5975AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#C35F7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aaa;
/* rgb */ color: rgb(187, 90, 170);
/* oklch */ color: oklch(61.3% 0.158 334.4);
Tailwind
colors: {
  custom: {
    50: '#d28cc3',
    500: '#bb5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aaa;
$custom-light: #d28cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aaa",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 310.515,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.15842,
    "h": 334.4
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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