#BB77D9#BB77D9

#BB77D9 is a light, vivid purple. Relative luminance 0.288; OKLCH L 67.8% C 0.156 H 314.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#BB77D9
RGBrgb(187, 119, 217)
HSLhsl(282, 56%, 66%)
HSVhsv(282, 45%, 85%)
CMYKcmyk(13.8%, 45.2%, 0%, 14.9%)
CIE-LABlab(60.58, 43.41, -39.84)
CIE-LCHlch(60.58, 58.92, 317.45°)
OKLaboklab(67.8% 0.1097 -0.1104)
OKLCHoklch(67.8% 0.156 314.8)
XYZxyz(39.6128, 28.7692, 69.0985)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77D9 #95D977
analogous
#8A77D9 #BB77D9 #D977C6
triadic
#BB77D9 #D9BB77 #77D9BB
tetradic
#BB77D9 #D98A77 #95D977 #77C6D9
square
#BB77D9 #D98A77 #95D977 #77C6D9
split-complementary
#BB77D9 #C6D977 #77D98A
monochromatic
#822FA7 #A347CC #BB77D9 #D3A7E6 #EBD7F4

Accessibility & contrast

On white

3.11
#BB77D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#BB77D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77D9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77D9#FFFFFF#000000##000000
##BB77D91.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDC
Deuteranopia (green-blind)
#7794D6
Tritanopia (blue-blind)
#B9859E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb77d9;
/* rgb */ color: rgb(187, 119, 217);
/* oklch */ color: oklch(67.8% 0.156 314.8);
Tailwind
colors: {
  custom: {
    50: '#d1a0e5',
    500: '#bb77d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb77d9;
$custom-light: #d1a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77d9",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 217
  },
  "hsl": {
    "h": 281.633,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67795,
    "c": 0.15568,
    "h": 314.8
  },
  "luminance": 0.28768
}

Semantic roles & 50–950 ramp

primary
#BB77D9
secondary
#D0E6C6
accent
#C42253
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB77D9

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

Preview Lab → · Contrast checker → · Palette generator →

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