#BB5ED9#BB5ED9

#BB5ED9 is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.2% C 0.196 H 317.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BB5ED9
RGBrgb(187, 94, 217)
HSLhsl(285, 62%, 61%)
HSVhsv(285, 57%, 85%)
CMYKcmyk(13.8%, 56.7%, 0%, 14.9%)
CIE-LABlab(55.67, 56.24, -47.59)
CIE-LCHlch(55.67, 73.67, 319.76°)
OKLaboklab(64.16% 0.1435 -0.1328)
OKLCHoklch(64.16% 0.196 317.2)
XYZxyz(37.0188, 23.5813, 68.2338)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5ED9 #7CD95E
analogous
#7D5ED9 #BB5ED9 #D95EB9
triadic
#BB5ED9 #D9BB5E #5ED9BB
tetradic
#BB5ED9 #D97D5E #7CD95E #5EB9D9
square
#BB5ED9 #D97D5E #7CD95E #5EB9D9
split-complementary
#BB5ED9 #B9D95E #5ED97D
monochromatic
#7C2499 #A430CA #BB5ED9 #D090E5 #E5C1F0

Accessibility & contrast

On white

3.67
#BB5ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BB5ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5ED9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5ED9#FFFFFF#000000##000000
##BB5ED91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDD
Deuteranopia (green-blind)
#6188D6
Tritanopia (blue-blind)
#BA7293
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb5ed9;
/* rgb */ color: rgb(187, 94, 217);
/* oklch */ color: oklch(64.2% 0.196 317.2);
Tailwind
colors: {
  custom: {
    50: '#d290e5',
    500: '#bb5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ed9;
$custom-light: #d290e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ed9",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 285.366,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.19551,
    "h": 317.2
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#BB5ED9
secondary
#BEE1B2
accent
#CA1C46
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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