#BB7EB2#BB7EB2

#BB7EB2 is a light, moderate purple. Relative luminance 0.287; OKLCH L 67.2% C 0.102 H 332.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BB7EB2
RGBrgb(187, 126, 178)
HSLhsl(309, 31%, 61%)
HSVhsv(309, 33%, 73%)
CMYKcmyk(0%, 32.6%, 4.8%, 26.7%)
CIE-LABlab(60.52, 31.91, -17.88)
CIE-LCHlch(60.52, 36.58, 330.74°)
OKLaboklab(67.23% 0.0904 -0.0481)
OKLCHoklch(67.23% 0.102 332)
XYZxyz(35.9898, 28.7024, 45.7552)
Luminance0.2870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EB2 #7EBB87
analogous
#A67EBB #BB7EB2 #BB7E94
triadic
#BB7EB2 #B2BB7E #7EB2BB
tetradic
#BB7EB2 #BBA67E #7EBB87 #7E94BB
square
#BB7EB2 #BBA67E #7EBB87 #7E94BB
split-complementary
#BB7EB2 #94BB7E #7EBBA6
monochromatic
#7D4274 #A55799 #BB7EB2 #D0A6CA #E5CEE2

Accessibility & contrast

On white

3.12
#BB7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BB7EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EB2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EB2#FFFFFF#000000##000000
##BB7EB21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#8C95B0
Tritanopia (blue-blind)
#C08191
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb7eb2;
/* rgb */ color: rgb(187, 126, 178);
/* oklch */ color: oklch(67.2% 0.102 332.0);
Tailwind
colors: {
  custom: {
    50: '#d0a4c9',
    500: '#bb7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eb2;
$custom-light: #d0a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eb2",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 308.852,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.1024,
    "h": 332
  },
  "luminance": 0.28701
}

Semantic roles & 50–950 ramp

primary
#BB7EB2
secondary
#BFD6C2
accent
#AA4C3C
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #BB7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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