#BB79CB#BB79CB

#BB79CB is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.4% C 0.137 H 319.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BB79CB
RGBrgb(187, 121, 203)
HSLhsl(288, 44%, 64%)
HSVhsv(288, 40%, 80%)
CMYKcmyk(7.9%, 40.4%, 0%, 20.4%)
CIE-LABlab(60.38, 39.45, -32.26)
CIE-LCHlch(60.38, 50.96, 320.72°)
OKLaboklab(67.45% 0.1043 -0.0887)
OKLCHoklch(67.45% 0.137 319.6)
XYZxyz(38.1090, 28.5526, 59.9921)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79CB #89CB79
analogous
#9279CB #BB79CB #CB79B2
triadic
#BB79CB #CBBB79 #79CBBB
tetradic
#BB79CB #CB9279 #89CB79 #79B2CB
square
#BB79CB #CB9279 #89CB79 #79B2CB
split-complementary
#BB79CB #B2CB79 #79CB92
monochromatic
#803891 #A54DBA #BB79CB #D1A5DC #E8D1ED

Accessibility & contrast

On white

3.13
#BB79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#BB79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB79CB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79CB#FFFFFF#000000##000000
##BB79CB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#BC8398
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb79cb;
/* rgb */ color: rgb(187, 121, 203);
/* oklch */ color: oklch(67.4% 0.137 319.6);
Tailwind
colors: {
  custom: {
    50: '#d1a1db',
    500: '#bb79cb',
    950: '#000000',
  },
}
SCSS
$custom: #bb79cb;
$custom-light: #d1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79cb",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 288.293,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.13689,
    "h": 319.6
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

primary
#BB79CB
secondary
#C7DEC1
accent
#B72E49
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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