#BB4EAA#BB4EAA

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

Color values

HEX#BB4EAA
RGBrgb(187, 78, 170)
HSLhsl(309, 44%, 52%)
HSVhsv(309, 58%, 73%)
CMYKcmyk(0%, 58.3%, 9.1%, 26.7%)
CIE-LABlab(50.59, 55.18, -28.51)
CIE-LCHlch(50.59, 62.11, 332.68°)
OKLaboklab(59.7% 0.1594 -0.0776)
OKLCHoklch(59.7% 0.177 334)
XYZxyz(30.4737, 18.9181, 40.0689)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EAA #4EBB5F
analogous
#964EBB #BB4EAA #BB4E74
triadic
#BB4EAA #AABB4E #4EAABB
tetradic
#BB4EAA #BB964E #4EBB5F #4E74BB
square
#BB4EAA #BB964E #4EBB5F #4E74BB
split-complementary
#BB4EAA #74BB4E #4EBB96
monochromatic
#67285D #933985 #BB4EAA #CC7ABF #DDA6D4

Accessibility & contrast

On white

4.39
#BB4EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4EAA#FFFFFF#000000##000000
##BB4EAA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#C35575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4eaa;
/* rgb */ color: rgb(187, 78, 170);
/* oklch */ color: oklch(59.7% 0.177 334.0);
Tailwind
colors: {
  custom: {
    50: '#d285c3',
    500: '#bb4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eaa;
$custom-light: #d285c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eaa",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 309.358,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.597,
    "c": 0.17731,
    "h": 334
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#BB4EAA
secondary
#9BCAA2
accent
#D46854
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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