#BB4DB7#BB4DB7

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

Color values

HEX#BB4DB7
RGBrgb(187, 77, 183)
HSLhsl(302, 45%, 52%)
HSVhsv(302, 59%, 73%)
CMYKcmyk(0%, 58.8%, 2.1%, 26.7%)
CIE-LABlab(51.03, 57.81, -35.42)
CIE-LCHlch(51.03, 67.79, 328.50°)
OKLaboklab(60.22% 0.1625 -0.0974)
OKLCHoklch(60.22% 0.189 329.1)
XYZxyz(31.6943, 19.2935, 46.8452)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4DB7 #4DBB51
analogous
#884DBB #BB4DB7 #BB4D80
triadic
#BB4DB7 #B7BB4D #4DB7BB
tetradic
#BB4DB7 #BB884D #4DBB51 #4D80BB
square
#BB4DB7 #BB884D #4DBB51 #4D80BB
split-complementary
#BB4DB7 #80BB4D #4DBB88
monochromatic
#662764 #93388F #BB4DB7 #CC79C9 #DDA6DB

Accessibility & contrast

On white

4.32
#BB4DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BB4DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4DB7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4DB7#FFFFFF#000000##000000
##BB4DB71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#C1597B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4db7;
/* rgb */ color: rgb(187, 77, 183);
/* oklch */ color: oklch(60.2% 0.189 329.1);
Tailwind
colors: {
  custom: {
    50: '#d285cd',
    500: '#bb4db7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4db7;
$custom-light: #d285cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4db7",
  "rgb": {
    "r": 187,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 302.182,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.18942,
    "h": 329.1
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#BB4DB7
secondary
#9ACA9C
accent
#D45853
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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