#BB4AD9#BB4AD9

#BB4AD9 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.223 H 318.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB4AD9
RGBrgb(187, 74, 217)
HSLhsl(287, 65%, 57%)
HSVhsv(287, 66%, 85%)
CMYKcmyk(13.8%, 65.9%, 0%, 14.9%)
CIE-LABlab(52.37, 65.27, -52.84)
CIE-LCHlch(52.37, 83.98, 321.01°)
OKLaboklab(61.77% 0.1673 -0.148)
OKLCHoklch(61.77% 0.223 318.5)
XYZxyz(35.4650, 20.4737, 67.7159)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4AD9 #68D94A
analogous
#744AD9 #BB4AD9 #D94AAF
triadic
#BB4AD9 #D9BB4A #4AD9BB
tetradic
#BB4AD9 #D9744A #68D94A #4AAFD9
square
#BB4AD9 #D9744A #68D94A #4AAFD9
split-complementary
#BB4AD9 #AFD94A #4AD974
monochromatic
#741D8B #9E28BE #BB4AD9 #CE7DE4 #E1AFEE

Accessibility & contrast

On white

4.12
#BB4AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BB4AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4AD9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4AD9#FFFFFF#000000##000000
##BB4AD91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DD
Deuteranopia (green-blind)
#5181D6
Tritanopia (blue-blind)
#BB648C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb4ad9;
/* rgb */ color: rgb(187, 74, 217);
/* oklch */ color: oklch(61.8% 0.223 318.5);
Tailwind
colors: {
  custom: {
    50: '#d385e5',
    500: '#bb4ad9',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ad9;
$custom-light: #d385e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ad9",
  "rgb": {
    "r": 187,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 287.413,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.22333,
    "h": 318.5
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#BB4AD9
secondary
#AFDCA2
accent
#E84063
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB4AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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