#BB2FA4#BB2FA4

#BB2FA4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 335.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB2FA4
RGBrgb(187, 47, 164)
HSLhsl(310, 60%, 46%)
HSVhsv(310, 75%, 73%)
CMYKcmyk(0%, 74.9%, 12.3%, 26.7%)
CIE-LABlab(46.02, 66.22, -32.11)
CIE-LCHlch(46.02, 73.59, 334.13°)
OKLaboklab(56.28% 0.1939 -0.0876)
OKLCHoklch(56.28% 0.213 335.7)
XYZxyz(28.2113, 15.2807, 36.5784)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA4 #2FBB46
analogous
#8C2FBB #BB2FA4 #BB2F5E
triadic
#BB2FA4 #A4BB2F #2FA4BB
tetradic
#BB2FA4 #BB8C2F #2FBB46 #2F5EBB
square
#BB2FA4 #BB8C2F #2FBB46 #2F5EBB
split-complementary
#BB2FA4 #5EBB2F #2FBB8C
monochromatic
#59164E #8A2379 #BB2FA4 #D453BF #E084D1

Accessibility & contrast

On white

5.18
#BB2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BB2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FA4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA4#FFFFFF#000000##FFFFFF
##BB2FA41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#6274A1
Tritanopia (blue-blind)
#C53A67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa4;
/* rgb */ color: rgb(187, 47, 164);
/* oklch */ color: oklch(56.3% 0.213 335.7);
Tailwind
colors: {
  custom: {
    50: '#d376bf',
    500: '#bb2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa4;
$custom-light: #d376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa4",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 309.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.21277,
    "h": 335.7
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#BB2FA4
secondary
#7CC989
accent
#E35F45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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