#BB7FD8#BB7FD8

#BB7FD8 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.0% C 0.141 H 314.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#BB7FD8
RGBrgb(187, 127, 216)
HSLhsl(280, 53%, 67%)
HSVhsv(280, 41%, 85%)
CMYKcmyk(13.4%, 41.2%, 0%, 15.3%)
CIE-LABlab(62.26, 38.87, -36.65)
CIE-LCHlch(62.26, 53.42, 316.68°)
OKLaboklab(69.04% 0.0981 -0.1013)
OKLCHoklch(69.04% 0.141 314.1)
XYZxyz(40.4756, 30.7023, 68.7464)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FD8 #9CD87F
analogous
#8E7FD8 #BB7FD8 #D87FC9
triadic
#BB7FD8 #D8BB7F #7FD8BB
tetradic
#BB7FD8 #D88E7F #9CD87F #7FC9D8
square
#BB7FD8 #D88E7F #9CD87F #7FC9D8
split-complementary
#BB7FD8 #C9D87F #7FD88E
monochromatic
#8334A9 #A250CA #BB7FD8 #D4AEE6 #EDDDF5

Accessibility & contrast

On white

2.94
#BB7FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#BB7FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FD8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FD8#FFFFFF#000000##000000
##BB7FD81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7fd8;
/* rgb */ color: rgb(187, 127, 216);
/* oklch */ color: oklch(69.0% 0.141 314.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5e4',
    500: '#bb7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fd8;
$custom-light: #d1a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fd8",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 280.449,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.14105,
    "h": 314.1
  },
  "luminance": 0.30701
}

Semantic roles & 50–950 ramp

primary
#BB7FD8
secondary
#D5E7CB
accent
#C12558
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F15
muted
#827F84

Preview Lab

Preview with #BB7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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