#BB2FBA#BB2FBA

#BB2FBA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.229 H 328.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BB2FBA
RGBrgb(187, 47, 186)
HSLhsl(300, 60%, 46%)
HSVhsv(300, 75%, 73%)
CMYKcmyk(0%, 74.9%, 0.5%, 26.7%)
CIE-LABlab(47.16, 69.58, -43.27)
CIE-LCHlch(47.16, 81.93, 328.12°)
OKLaboklab(57.48% 0.1946 -0.1199)
OKLCHoklch(57.48% 0.229 328.4)
XYZxyz(30.3726, 16.1453, 47.9615)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FBA #2FBB30
analogous
#762FBB #BB2FBA #BB2F74
triadic
#BB2FBA #BABB2F #2FBABB
tetradic
#BB2FBA #BB762F #2FBB30 #2F74BB
square
#BB2FBA #BB762F #2FBB30 #2F74BB
split-complementary
#BB2FBA #74BB2F #2FBB76
monochromatic
#591659 #8A2389 #BB2FBA #D453D3 #E084DF

Accessibility & contrast

On white

4.97
#BB2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BB2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FBA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FBA#FFFFFF#000000##FFFFFF
##BB2FBA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BE
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#C14573
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb2fba;
/* rgb */ color: rgb(187, 47, 186);
/* oklch */ color: oklch(57.5% 0.229 328.4);
Tailwind
colors: {
  custom: {
    50: '#d377cf',
    500: '#bb2fba',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fba;
$custom-light: #d377cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fba",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 300.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57477,
    "c": 0.22859,
    "h": 328.4
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#BB2FBA
secondary
#7CC97D
accent
#E34645
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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