#BB7CD9#BB7CD9

#BB7CD9 is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.6% C 0.147 H 314.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BB7CD9
RGBrgb(187, 124, 217)
HSLhsl(281, 55%, 67%)
HSVhsv(281, 43%, 85%)
CMYKcmyk(13.8%, 42.9%, 0%, 14.9%)
CIE-LABlab(61.65, 40.71, -38.17)
CIE-LCHlch(61.65, 55.80, 316.85°)
OKLaboklab(68.6% 0.1026 -0.1056)
OKLCHoklch(68.6% 0.147 314.2)
XYZxyz(40.2235, 29.9908, 69.3021)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CD9 #9AD97C
analogous
#8D7CD9 #BB7CD9 #D97CC9
triadic
#BB7CD9 #D9BB7C #7CD9BB
tetradic
#BB7CD9 #D98D7C #9AD97C #7CC9D9
square
#BB7CD9 #D98D7C #9AD97C #7CC9D9
split-complementary
#BB7CD9 #C9D97C #7CD98D
monochromatic
#8331A9 #A24DCB #BB7CD9 #D4ABE7 #ECDBF5

Accessibility & contrast

On white

3.00
#BB7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BB7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CD9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CD9#FFFFFF#000000##000000
##BB7CD91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B91DC
Deuteranopia (green-blind)
#7B97D6
Tritanopia (blue-blind)
#B989A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7cd9;
/* rgb */ color: rgb(187, 124, 217);
/* oklch */ color: oklch(68.6% 0.147 314.2);
Tailwind
colors: {
  custom: {
    50: '#d1a3e5',
    500: '#bb7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cd9;
$custom-light: #d1a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cd9",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 280.645,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68595,
    "c": 0.14728,
    "h": 314.2
  },
  "luminance": 0.2999
}

Semantic roles & 50–950 ramp

primary
#BB7CD9
secondary
#D3E7CA
accent
#C32356
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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