#BB7FB2#BB7FB2

#BB7FB2 is a light, moderate purple. Relative luminance 0.290; OKLCH L 67.4% C 0.101 H 332.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#BB7FB2
RGBrgb(187, 127, 178)
HSLhsl(309, 31%, 62%)
HSVhsv(309, 32%, 73%)
CMYKcmyk(0%, 32.1%, 4.8%, 26.7%)
CIE-LABlab(60.75, 31.36, -17.53)
CIE-LCHlch(60.75, 35.93, 330.79°)
OKLaboklab(67.4% 0.0888 -0.0471)
OKLCHoklch(67.4% 0.101 332)
XYZxyz(36.1183, 28.9594, 45.7980)
Luminance0.2896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FB2 #7FBB88
analogous
#A67FBB #BB7FB2 #BB7F94
triadic
#BB7FB2 #B2BB7F #7FB2BB
tetradic
#BB7FB2 #BBA67F #7FBB88 #7F94BB
square
#BB7FB2 #BBA67F #7FBB88 #7F94BB
split-complementary
#BB7FB2 #94BB7F #7FBBA6
monochromatic
#7D4274 #A55899 #BB7FB2 #D0A7CA #E5CFE2

Accessibility & contrast

On white

3.09
#BB7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#BB7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7FB2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FB2#FFFFFF#000000##000000
##BB7FB21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB4
Deuteranopia (green-blind)
#8C96B0
Tritanopia (blue-blind)
#C08291
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb7fb2;
/* rgb */ color: rgb(187, 127, 178);
/* oklch */ color: oklch(67.4% 0.101 332.0);
Tailwind
colors: {
  custom: {
    50: '#d0a5c9',
    500: '#bb7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fb2;
$custom-light: #d0a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fb2",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 309,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.674,
    "c": 0.10058,
    "h": 332
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#BB7FB2
secondary
#C0D6C3
accent
#A94D3C
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #BB7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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