#BB5AAD#BB5AAD

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

Color values

HEX#BB5AAD
RGBrgb(187, 90, 173)
HSLhsl(309, 42%, 54%)
HSVhsv(309, 52%, 73%)
CMYKcmyk(0%, 51.9%, 7.5%, 26.7%)
CIE-LABlab(52.84, 50.01, -26.78)
CIE-LCHlch(52.84, 56.73, 331.83°)
OKLaboklab(61.4% 0.1435 -0.0728)
OKLCHoklch(61.4% 0.161 333.1)
XYZxyz(31.6925, 20.8963, 41.8912)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AAD #5ABB68
analogous
#995ABB #BB5AAD #BB5A7D
triadic
#BB5AAD #ADBB5A #5AADBB
tetradic
#BB5AAD #BB995A #5ABB68 #5A7DBB
square
#BB5AAD #BB995A #5ABB68 #5A7DBB
split-complementary
#BB5AAD #7DBB5A #5ABB99
monochromatic
#6D2D64 #993F8C #BB5AAD #CD85C3 #DFB1D8

Accessibility & contrast

On white

4.05
#BB5AAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BB5AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AAD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AAD#FFFFFF#000000##000000
##BB5AAD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875B0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#C2607C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aad;
/* rgb */ color: rgb(187, 90, 173);
/* oklch */ color: oklch(61.4% 0.161 333.1);
Tailwind
colors: {
  custom: {
    50: '#d28dc5',
    500: '#bb5aad',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aad;
$custom-light: #d28dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aad",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 308.66,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.16091,
    "h": 333.1
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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