#BB5ACC#BB5ACC

#BB5ACC is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.9% C 0.189 H 321.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB5ACC
RGBrgb(187, 90, 204)
HSLhsl(291, 53%, 58%)
HSVhsv(291, 56%, 80%)
CMYKcmyk(8.3%, 55.9%, 0%, 20%)
CIE-LABlab(54.28, 55.62, -42.40)
CIE-LCHlch(54.28, 69.93, 322.68°)
OKLaboklab(62.93% 0.1478 -0.1177)
OKLCHoklch(62.93% 0.189 321.5)
XYZxyz(35.0475, 22.2384, 59.5614)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5ACC #6BCC5A
analogous
#825ACC #BB5ACC #CC5AA4
triadic
#BB5ACC #CCBB5A #5ACCBB
tetradic
#BB5ACC #CC825A #6BCC5A #5AA4CC
square
#BB5ACC #CC825A #6BCC5A #5AA4CC
split-complementary
#BB5ACC #A4CC5A #5ACC82
monochromatic
#762983 #A037B2 #BB5ACC #CE89DA #E2B7E9

Accessibility & contrast

On white

3.86
#BB5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BB5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5ACC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5ACC#FFFFFF#000000##000000
##BB5ACC1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#6686C9
Tritanopia (blue-blind)
#BD6A8B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb5acc;
/* rgb */ color: rgb(187, 90, 204);
/* oklch */ color: oklch(62.9% 0.189 321.5);
Tailwind
colors: {
  custom: {
    50: '#d28ddc',
    500: '#bb5acc',
    950: '#000000',
  },
}
SCSS
$custom: #bb5acc;
$custom-light: #d28ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5acc",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 291.053,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62931,
    "c": 0.18888,
    "h": 321.5
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#BB5ACC
secondary
#B1D8AA
accent
#DC4C61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140D15
muted
#837D83

Preview Lab

Preview with #BB5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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