#BB77B2#BB77B2

#BB77B2 is a light, moderate purple. Relative luminance 0.270; OKLCH L 66.0% C 0.115 H 331.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#BB77B2
RGBrgb(187, 119, 178)
HSLhsl(308, 33%, 60%)
HSVhsv(308, 36%, 73%)
CMYKcmyk(0%, 36.4%, 4.8%, 26.7%)
CIE-LABlab(58.95, 35.75, -20.26)
CIE-LCHlch(58.95, 41.09, 330.45°)
OKLaboklab(66.04% 0.1013 -0.0547)
OKLCHoklch(66.04% 0.115 331.6)
XYZxyz(35.1258, 26.9744, 45.4672)
Luminance0.2697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77B2 #77BB80
analogous
#A277BB #BB77B2 #BB7790
triadic
#BB77B2 #B2BB77 #77B2BB
tetradic
#BB77B2 #BBA277 #77BB80 #7790BB
square
#BB77B2 #BBA277 #77BB80 #7790BB
split-complementary
#BB77B2 #90BB77 #77BBA2
monochromatic
#7A3D72 #A35298 #BB77B2 #CFA0C9 #E4C9E0

Accessibility & contrast

On white

3.28
#BB77B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#BB77B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77B2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77B2#FFFFFF#000000##000000
##BB77B21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#8691B0
Tritanopia (blue-blind)
#C07B8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb77b2;
/* rgb */ color: rgb(187, 119, 178);
/* oklch */ color: oklch(66.0% 0.115 331.6);
Tailwind
colors: {
  custom: {
    50: '#d09fc9',
    500: '#bb77b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb77b2;
$custom-light: #d09fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77b2",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 307.941,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.66039,
    "c": 0.11511,
    "h": 331.6
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#BB77B2
secondary
#BAD4BD
accent
#C96D5E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140F13
muted
#827E82

Preview Lab

Preview with #BB77B2

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

Preview Lab → · Contrast checker → · Palette generator →

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