#BB79D8#BB79D8

#BB79D8 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.1% C 0.151 H 314.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#BB79D8
RGBrgb(187, 121, 216)
HSLhsl(282, 55%, 66%)
HSVhsv(282, 44%, 85%)
CMYKcmyk(13.4%, 44%, 0%, 15.3%)
CIE-LABlab(60.96, 42.12, -38.69)
CIE-LCHlch(60.96, 57.19, 317.43°)
OKLaboklab(68.06% 0.1067 -0.1071)
OKLCHoklch(68.06% 0.151 314.9)
XYZxyz(39.7236, 29.1984, 68.4957)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79D8 #96D879
analogous
#8B79D8 #BB79D8 #D879C5
triadic
#BB79D8 #D8BB79 #79D8BB
tetradic
#BB79D8 #D88B79 #96D879 #79C5D8
square
#BB79D8 #D88B79 #96D879 #79C5D8
split-complementary
#BB79D8 #C5D879 #79D88B
monochromatic
#8230A6 #A34ACA #BB79D8 #D3A8E6 #EBD8F4

Accessibility & contrast

On white

3.07
#BB79D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#BB79D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB79D8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79D8#FFFFFF#000000##000000
##BB79D81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678FDB
Deuteranopia (green-blind)
#7995D5
Tritanopia (blue-blind)
#B9879E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb79d8;
/* rgb */ color: rgb(187, 121, 216);
/* oklch */ color: oklch(68.1% 0.151 314.9);
Tailwind
colors: {
  custom: {
    50: '#d1a1e4',
    500: '#bb79d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb79d8;
$custom-light: #d1a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79d8",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 281.684,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.15122,
    "h": 314.9
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#BB79D8
secondary
#D0E6C7
accent
#C22354
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F15
muted
#837F84

Preview Lab

Preview with #BB79D8

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

Preview Lab → · Contrast checker → · Palette generator →

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