#BB5BAF#BB5BAF

#BB5BAF is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.161 H 332.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB5BAF
RGBrgb(187, 91, 175)
HSLhsl(308, 41%, 55%)
HSVhsv(308, 51%, 73%)
CMYKcmyk(0%, 51.3%, 6.4%, 26.7%)
CIE-LABlab(53.11, 49.86, -27.52)
CIE-LCHlch(53.11, 56.95, 331.10°)
OKLaboklab(61.63% 0.1425 -0.0749)
OKLCHoklch(61.63% 0.161 332.3)
XYZxyz(31.9723, 21.1442, 42.9463)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BAF #5BBB67
analogous
#975BBB #BB5BAF #BB5B7F
triadic
#BB5BAF #AFBB5B #5BAFBB
tetradic
#BB5BAF #BB975B #5BBB67 #5B7FBB
square
#BB5BAF #BB975B #5BBB67 #5B7FBB
split-complementary
#BB5BAF #7FBB5B #5BBB97
monochromatic
#6E2E66 #99408E #BB5BAF #CD86C4 #DFB2D9

Accessibility & contrast

On white

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

On black

5.23
#BB5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BAF#FFFFFF#000000##000000
##BB5BAF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#C2627D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5baf;
/* rgb */ color: rgb(187, 91, 175);
/* oklch */ color: oklch(61.6% 0.161 332.3);
Tailwind
colors: {
  custom: {
    50: '#d28dc7',
    500: '#bb5baf',
    950: '#000000',
  },
}
SCSS
$custom: #bb5baf;
$custom-light: #d28dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5baf",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 307.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.16095,
    "h": 332.3
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#BB5BAF
secondary
#A5CDAA
accent
#D16657
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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