#BB5AAF#BB5AAF

#BB5AAF is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.163 H 332.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB5AAF
RGBrgb(187, 90, 175)
HSLhsl(307, 42%, 54%)
HSVhsv(307, 52%, 73%)
CMYKcmyk(0%, 51.9%, 6.4%, 26.7%)
CIE-LABlab(52.92, 50.35, -27.81)
CIE-LCHlch(52.92, 57.52, 331.09°)
OKLaboklab(61.49% 0.1439 -0.0757)
OKLCHoklch(61.49% 0.163 332.2)
XYZxyz(31.8874, 20.9743, 42.9180)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AAF #5ABB66
analogous
#975ABB #BB5AAF #BB5A7F
triadic
#BB5AAF #AFBB5A #5AAFBB
tetradic
#BB5AAF #BB975A #5ABB66 #5A7FBB
square
#BB5AAF #BB975A #5ABB66 #5A7FBB
split-complementary
#BB5AAF #7FBB5A #5ABB97
monochromatic
#6D2D66 #993F8E #BB5AAF #CD85C4 #DFB1D9

Accessibility & contrast

On white

4.04
#BB5AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB5AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AAF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AAF#FFFFFF#000000##000000
##BB5AAF1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#C2617D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aaf;
/* rgb */ color: rgb(187, 90, 175);
/* oklch */ color: oklch(61.5% 0.163 332.2);
Tailwind
colors: {
  custom: {
    50: '#d28dc7',
    500: '#bb5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aaf;
$custom-light: #d28dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aaf",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 307.423,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.16259,
    "h": 332.2
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#BB5AAF
secondary
#A4CDA9
accent
#D16656
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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