#BB4AB7#BB4AB7

#BB4AB7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.194 H 329.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB4AB7
RGBrgb(187, 74, 183)
HSLhsl(302, 45%, 51%)
HSVhsv(302, 60%, 73%)
CMYKcmyk(0%, 60.4%, 2.1%, 26.7%)
CIE-LABlab(50.55, 59.12, -36.17)
CIE-LCHlch(50.55, 69.31, 328.54°)
OKLaboklab(59.87% 0.1662 -0.0995)
OKLCHoklch(59.87% 0.194 329.1)
XYZxyz(31.4892, 18.8834, 46.7769)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4AB7 #4ABB4E
analogous
#864ABB #BB4AB7 #BB4A7E
triadic
#BB4AB7 #B7BB4A #4AB7BB
tetradic
#BB4AB7 #BB864A #4ABB4E #4A7EBB
square
#BB4AB7 #BB864A #4ABB4E #4A7EBB
split-complementary
#BB4AB7 #7EBB4A #4ABB86
monochromatic
#652663 #91378E #BB4AB7 #CC76C9 #DCA3DA

Accessibility & contrast

On white

4.40
#BB4AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB4AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4AB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4AB7#FFFFFF#000000##000000
##BB4AB71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#C1577A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ab7;
/* rgb */ color: rgb(187, 74, 183);
/* oklch */ color: oklch(59.9% 0.194 329.1);
Tailwind
colors: {
  custom: {
    50: '#d284cd',
    500: '#bb4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ab7;
$custom-light: #d284cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ab7",
  "rgb": {
    "r": 187,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 302.124,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.19373,
    "h": 329.1
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#BB4AB7
secondary
#97C999
accent
#D55753
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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