#BB5EC5#BB5EC5

#BB5EC5 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.1% C 0.176 H 323.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BB5EC5
RGBrgb(187, 94, 197)
HSLhsl(294, 47%, 57%)
HSVhsv(294, 52%, 77%)
CMYKcmyk(5.1%, 52.3%, 0%, 22.7%)
CIE-LABlab(54.66, 52.35, -37.79)
CIE-LCHlch(54.66, 64.56, 324.17°)
OKLaboklab(63.1% 0.1417 -0.1044)
OKLCHoklch(63.1% 0.176 323.6)
XYZxyz(34.5733, 22.6031, 55.3542)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EC5 #68C55E
analogous
#885EC5 #BB5EC5 #C55E9C
triadic
#BB5EC5 #C5BB5E #5EC5BB
tetradic
#BB5EC5 #C5885E #68C55E #5E9CC5
square
#BB5EC5 #C5885E #68C55E #5E9CC5
split-complementary
#BB5EC5 #9CC55E #5EC588
monochromatic
#742D7C #9E3DA9 #BB5EC5 #CE8BD5 #E1B8E5

Accessibility & contrast

On white

3.80
#BB5EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BB5EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EC5#FFFFFF#000000##000000
##BB5EC51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CC8
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#BE6B89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb5ec5;
/* rgb */ color: rgb(187, 94, 197);
/* oklch */ color: oklch(63.1% 0.176 323.6);
Tailwind
colors: {
  custom: {
    50: '#d28fd7',
    500: '#bb5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ec5;
$custom-light: #d28fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ec5",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 294.175,
    "s": 47.032,
    "l": 57.059
  },
  "oklch": {
    "l": 0.631,
    "c": 0.17601,
    "h": 323.6
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#BB5EC5
secondary
#AFD4AA
accent
#D7515E
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BB5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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