#BB5EC7#BB5EC7

#BB5EC7 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.2% C 0.178 H 322.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB5EC7
RGBrgb(187, 94, 199)
HSLhsl(293, 48%, 57%)
HSVhsv(293, 53%, 78%)
CMYKcmyk(6%, 52.8%, 0%, 22%)
CIE-LABlab(54.76, 52.72, -38.79)
CIE-LCHlch(54.76, 65.45, 323.66°)
OKLaboklab(63.2% 0.142 -0.1072)
OKLCHoklch(63.2% 0.178 322.9)
XYZxyz(34.8040, 22.6954, 56.5691)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EC7 #6AC75E
analogous
#875EC7 #BB5EC7 #C75E9E
triadic
#BB5EC7 #C7BB5E #5EC7BB
tetradic
#BB5EC7 #C7875E #6AC75E #5E9EC7
square
#BB5EC7 #C7875E #6AC75E #5E9EC7
split-complementary
#BB5EC7 #9EC75E #5EC787
monochromatic
#752C7F #9F3CAC #BB5EC7 #CE8BD7 #E1B9E7

Accessibility & contrast

On white

3.79
#BB5EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BB5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EC7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EC7#FFFFFF#000000##000000
##BB5EC71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCA
Deuteranopia (green-blind)
#6C87C4
Tritanopia (blue-blind)
#BE6C8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb5ec7;
/* rgb */ color: rgb(187, 94, 199);
/* oklch */ color: oklch(63.2% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#d28fd8',
    500: '#bb5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ec7;
$custom-light: #d28fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ec7",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 293.143,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.17792,
    "h": 322.9
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#BB5EC7
secondary
#B0D6AB
accent
#D8505F
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BB5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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