#BB7FD7#BB7FD7

#BB7FD7 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.0% C 0.140 H 314.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BB7FD7
RGBrgb(187, 127, 215)
HSLhsl(281, 52%, 67%)
HSVhsv(281, 41%, 84%)
CMYKcmyk(13%, 40.9%, 0%, 15.7%)
CIE-LABlab(62.21, 38.65, -36.16)
CIE-LCHlch(62.21, 52.93, 316.91°)
OKLaboklab(68.99% 0.0979 -0.0999)
OKLCHoklch(68.99% 0.14 314.4)
XYZxyz(40.3467, 30.6507, 68.0676)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FD7 #9BD77F
analogous
#8F7FD7 #BB7FD7 #D77FC7
triadic
#BB7FD7 #D7BB7F #7FD7BB
tetradic
#BB7FD7 #D78F7F #9BD77F #7FC7D7
square
#BB7FD7 #D78F7F #9BD77F #7FC7D7
split-complementary
#BB7FD7 #C7D77F #7FD78F
monochromatic
#8334A7 #A250C8 #BB7FD7 #D4AEE6 #EDDCF4

Accessibility & contrast

On white

2.95
#BB7FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BB7FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FD7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FD7#FFFFFF#000000##000000
##BB7FD71.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F93DA
Deuteranopia (green-blind)
#7E98D4
Tritanopia (blue-blind)
#B98BA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7fd7;
/* rgb */ color: rgb(187, 127, 215);
/* oklch */ color: oklch(69.0% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#d1a5e3',
    500: '#bb7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fd7;
$custom-light: #d1a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fd7",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 280.909,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6899,
    "c": 0.13991,
    "h": 314.4
  },
  "luminance": 0.3065
}

Semantic roles & 50–950 ramp

primary
#BB7FD7
secondary
#D4E7CB
accent
#C02657
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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