#BB77DB#BB77DB

#BB77DB is a light, vivid purple. Relative luminance 0.289; OKLCH L 67.9% C 0.158 H 314.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BB77DB
RGBrgb(187, 119, 219)
HSLhsl(281, 58%, 66%)
HSVhsv(281, 46%, 86%)
CMYKcmyk(14.6%, 45.7%, 0%, 14.1%)
CIE-LABlab(60.67, 43.83, -40.82)
CIE-LCHlch(60.67, 59.89, 317.04°)
OKLaboklab(67.9% 0.11 -0.1133)
OKLCHoklch(67.9% 0.158 314.2)
XYZxyz(39.8745, 28.8739, 70.4768)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77DB #97DB77
analogous
#8977DB #BB77DB #DB77C9
triadic
#BB77DB #DBBB77 #77DBBB
tetradic
#BB77DB #DB8977 #97DB77 #77C9DB
square
#BB77DB #DB8977 #97DB77 #77C9DB
split-complementary
#BB77DB #C9DB77 #77DB89
monochromatic
#822DAA #A347CE #BB77DB #D3A7E8 #EBD8F5

Accessibility & contrast

On white

3.10
#BB77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BB77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77DB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77DB#FFFFFF#000000##000000
##BB77DB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDF
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#B9869F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb77db;
/* rgb */ color: rgb(187, 119, 219);
/* oklch */ color: oklch(67.9% 0.158 314.2);
Tailwind
colors: {
  custom: {
    50: '#d1a0e6',
    500: '#bb77db',
    950: '#000000',
  },
}
SCSS
$custom: #bb77db;
$custom-light: #d1a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77db",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 280.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.15791,
    "h": 314.2
  },
  "luminance": 0.28873
}

Semantic roles & 50–950 ramp

primary
#BB77DB
secondary
#D1E7C7
accent
#C62055
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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