#BB7BD8#BB7BD8

#BB7BD8 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.4% C 0.148 H 314.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#BB7BD8
RGBrgb(187, 123, 216)
HSLhsl(281, 54%, 66%)
HSVhsv(281, 43%, 85%)
CMYKcmyk(13.4%, 43.1%, 0%, 15.3%)
CIE-LABlab(61.39, 41.04, -38.01)
CIE-LCHlch(61.39, 55.94, 317.19°)
OKLaboklab(68.38% 0.1039 -0.1052)
OKLCHoklch(68.38% 0.148 314.6)
XYZxyz(39.9692, 29.6895, 68.5776)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BD8 #98D87B
analogous
#8D7BD8 #BB7BD8 #D87BC7
triadic
#BB7BD8 #D8BB7B #7BD8BB
tetradic
#BB7BD8 #D88D7B #98D87B #7BC7D8
square
#BB7BD8 #D88D7B #98D87B #7BC7D8
split-complementary
#BB7BD8 #C7D87B #7BD88D
monochromatic
#8231A7 #A34CCA #BB7BD8 #D3AAE6 #ECD9F4

Accessibility & contrast

On white

3.03
#BB7BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#BB7BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7BD8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BD8#FFFFFF#000000##000000
##BB7BD81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A90DB
Deuteranopia (green-blind)
#7B96D5
Tritanopia (blue-blind)
#B9889F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7bd8;
/* rgb */ color: rgb(187, 123, 216);
/* oklch */ color: oklch(68.4% 0.148 314.6);
Tailwind
colors: {
  custom: {
    50: '#d1a2e4',
    500: '#bb7bd8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bd8;
$custom-light: #d1a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bd8",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 281.29,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.14784,
    "h": 314.6
  },
  "luminance": 0.29689
}

Semantic roles & 50–950 ramp

primary
#BB7BD8
secondary
#D2E6C8
accent
#C22455
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F15
muted
#837F84

Preview Lab

Preview with #BB7BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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