#BB2FB7#BB2FB7

#BB2FB7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.226 H 329.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB2FB7
RGBrgb(187, 47, 183)
HSLhsl(302, 60%, 46%)
HSVhsv(302, 75%, 73%)
CMYKcmyk(0%, 74.9%, 2.1%, 26.7%)
CIE-LABlab(47.00, 69.10, -41.78)
CIE-LCHlch(47.00, 80.75, 328.84°)
OKLaboklab(57.3% 0.1947 -0.1155)
OKLCHoklch(57.3% 0.226 329.3)
XYZxyz(30.0571, 16.0190, 46.2995)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FB7 #2FBB33
analogous
#792FBB #BB2FB7 #BB2F71
triadic
#BB2FB7 #B7BB2F #2FB7BB
tetradic
#BB2FB7 #BB792F #2FBB33 #2F71BB
square
#BB2FB7 #BB792F #2FBB33 #2F71BB
split-complementary
#BB2FB7 #71BB2F #2FBB79
monochromatic
#591657 #8A2387 #BB2FB7 #D453D0 #E084DE

Accessibility & contrast

On white

5.00
#BB2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FB7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FB7#FFFFFF#000000##FFFFFF
##BB2FB71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#C24471
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2fb7;
/* rgb */ color: rgb(187, 47, 183);
/* oklch */ color: oklch(57.3% 0.226 329.3);
Tailwind
colors: {
  custom: {
    50: '#d377cd',
    500: '#bb2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fb7;
$custom-light: #d377cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fb7",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 301.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.22636,
    "h": 329.3
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#BB2FB7
secondary
#7CC97F
accent
#E34945
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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