#BB2FA5#BB2FA5

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

Color values

HEX#BB2FA5
RGBrgb(187, 47, 165)
HSLhsl(309, 60%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 74.9%, 11.8%, 26.7%)
CIE-LABlab(46.07, 66.36, -32.63)
CIE-LCHlch(46.07, 73.95, 333.82°)
OKLaboklab(56.33% 0.194 -0.0891)
OKLCHoklch(56.33% 0.213 335.3)
XYZxyz(28.3019, 15.3170, 37.0559)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA5 #2FBB45
analogous
#8B2FBB #BB2FA5 #BB2F5F
triadic
#BB2FA5 #A5BB2F #2FA5BB
tetradic
#BB2FA5 #BB8B2F #2FBB45 #2F5FBB
square
#BB2FA5 #BB8B2F #2FBB45 #2F5FBB
split-complementary
#BB2FA5 #5FBB2F #2FBB8B
monochromatic
#59164F #8A237A #BB2FA5 #D453C0 #E084D2

Accessibility & contrast

On white

5.17
#BB2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2FA5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA5#FFFFFF#000000##FFFFFF
##BB2FA51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#6274A2
Tritanopia (blue-blind)
#C43B67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa5;
/* rgb */ color: rgb(187, 47, 165);
/* oklch */ color: oklch(56.3% 0.213 335.3);
Tailwind
colors: {
  custom: {
    50: '#d376c0',
    500: '#bb2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa5;
$custom-light: #d376c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa5",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 309.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.21346,
    "h": 335.3
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#BB2FA5
secondary
#7CC988
accent
#E35E45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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