#BB4EA9#BB4EA9

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

Color values

HEX#BB4EA9
RGBrgb(187, 78, 169)
HSLhsl(310, 44%, 52%)
HSVhsv(310, 58%, 73%)
CMYKcmyk(0%, 58.3%, 9.6%, 26.7%)
CIE-LABlab(50.55, 55.02, -27.99)
CIE-LCHlch(50.55, 61.73, 333.04°)
OKLaboklab(59.65% 0.1593 -0.0761)
OKLCHoklch(59.65% 0.177 334.4)
XYZxyz(30.3795, 18.8804, 39.5726)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA9 #4EBB60
analogous
#974EBB #BB4EA9 #BB4E73
triadic
#BB4EA9 #A9BB4E #4EA9BB
tetradic
#BB4EA9 #BB974E #4EBB60 #4E73BB
square
#BB4EA9 #BB974E #4EBB60 #4E73BB
split-complementary
#BB4EA9 #73BB4E #4EBB97
monochromatic
#67285D #933984 #BB4EA9 #CC7ABE #DDA6D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4EA9#FFFFFF#000000##000000
##BB4EA91.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)
#4D6EAC
Deuteranopia (green-blind)
#6F7EA6
Tritanopia (blue-blind)
#C35574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea9;
/* rgb */ color: rgb(187, 78, 169);
/* oklch */ color: oklch(59.7% 0.177 334.4);
Tailwind
colors: {
  custom: {
    50: '#d285c3',
    500: '#bb4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea9;
$custom-light: #d285c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea9",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 309.908,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.17652,
    "h": 334.4
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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