#BB7ACC#BB7ACC

#BB7ACC is a light, vivid purple. Relative luminance 0.288; OKLCH L 67.7% C 0.136 H 319.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BB7ACC
RGBrgb(187, 122, 204)
HSLhsl(288, 45%, 64%)
HSVhsv(288, 40%, 80%)
CMYKcmyk(8.3%, 40.2%, 0%, 20%)
CIE-LABlab(60.64, 39.11, -32.42)
CIE-LCHlch(60.64, 50.80, 320.34°)
OKLaboklab(67.66% 0.103 -0.0892)
OKLCHoklch(67.66% 0.136 319.1)
XYZxyz(38.3507, 28.8447, 60.6624)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ACC #8BCC7A
analogous
#927ACC #BB7ACC #CC7AB4
triadic
#BB7ACC #CCBB7A #7ACCBB
tetradic
#BB7ACC #CC927A #8BCC7A #7AB4CC
square
#BB7ACC #CC927A #8BCC7A #7AB4CC
split-complementary
#BB7ACC #B4CC7A #7ACC92
monochromatic
#803893 #A44EBB #BB7ACC #D2A6DD #E8D2EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB7ACC#FFFFFF#000000##000000
##BB7ACC1.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)
#6E8ECF
Deuteranopia (green-blind)
#7F95CA
Tritanopia (blue-blind)
#BC8499
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb7acc;
/* rgb */ color: rgb(187, 122, 204);
/* oklch */ color: oklch(67.7% 0.136 319.1);
Tailwind
colors: {
  custom: {
    50: '#d1a2dc',
    500: '#bb7acc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7acc;
$custom-light: #d1a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7acc",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 287.561,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.13624,
    "h": 319.1
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#BB7ACC
secondary
#C8DFC3
accent
#B82E4A
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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