#BB7FD9#BB7FD9

#BB7FD9 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.1% C 0.142 H 313.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#BB7FD9
RGBrgb(187, 127, 217)
HSLhsl(280, 54%, 67%)
HSVhsv(280, 41%, 85%)
CMYKcmyk(13.8%, 41.5%, 0%, 14.9%)
CIE-LABlab(62.30, 39.08, -37.14)
CIE-LCHlch(62.30, 53.91, 316.45°)
OKLaboklab(69.08% 0.0983 -0.1027)
OKLCHoklch(69.08% 0.142 313.7)
XYZxyz(40.6052, 30.7542, 69.4293)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FD9 #9DD97F
analogous
#8E7FD9 #BB7FD9 #D97FCA
triadic
#BB7FD9 #D9BB7F #7FD9BB
tetradic
#BB7FD9 #D98E7F #9DD97F #7FCAD9
square
#BB7FD9 #D98E7F #9DD97F #7FCAD9
split-complementary
#BB7FD9 #CAD97F #7FD98E
monochromatic
#8333AB #A250CB #BB7FD9 #D4AEE7 #EDDDF5

Accessibility & contrast

On white

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

On black

7.15
#BB7FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FD9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FD9#FFFFFF#000000##000000
##BB7FD91.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E93DC
Deuteranopia (green-blind)
#7E98D6
Tritanopia (blue-blind)
#B98CA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7fd9;
/* rgb */ color: rgb(187, 127, 217);
/* oklch */ color: oklch(69.1% 0.142 313.7);
Tailwind
colors: {
  custom: {
    50: '#d1a5e5',
    500: '#bb7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fd9;
$custom-light: #d1a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fd9",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 280,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.1422,
    "h": 313.7
  },
  "luminance": 0.30753
}

Semantic roles & 50–950 ramp

primary
#BB7FD9
secondary
#D5E8CC
accent
#C22458
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F15
muted
#837F84

Preview Lab

Preview with #BB7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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