#BB2AC7#BB2AC7

#BB2AC7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.243 H 324.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB2AC7
RGBrgb(187, 42, 199)
HSLhsl(295, 65%, 47%)
HSVhsv(295, 79%, 78%)
CMYKcmyk(6%, 78.9%, 0%, 22%)
CIE-LABlab(47.43, 73.10, -50.42)
CIE-LCHlch(47.43, 88.80, 325.41°)
OKLaboklab(57.9% 0.198 -0.1407)
OKLCHoklch(57.9% 0.243 324.6)
XYZxyz(31.6295, 16.3463, 55.5110)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AC7 #36C72A
analogous
#6D2AC7 #BB2AC7 #C72A85
triadic
#BB2AC7 #C7BB2A #2AC7BB
tetradic
#BB2AC7 #C76D2A #36C72A #2A85C7
square
#BB2AC7 #C76D2A #36C72A #2A85C7
split-complementary
#BB2AC7 #85C72A #2AC76D
monochromatic
#5C1562 #8C1F94 #BB2AC7 #D053DB #DE86E5

Accessibility & contrast

On white

4.92
#BB2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BB2AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AC7#FFFFFF#000000##FFFFFF
##BB2AC71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#BF4979
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb2ac7;
/* rgb */ color: rgb(187, 42, 199);
/* oklch */ color: oklch(57.9% 0.243 324.6);
Tailwind
colors: {
  custom: {
    50: '#d476d9',
    500: '#bb2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ac7;
$custom-light: #d476d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ac7",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 295.414,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.24286,
    "h": 324.6
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#BB2AC7
secondary
#84CF7E
accent
#E8404D
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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