#BB5BD9#BB5BD9

#BB5BD9 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.8% C 0.200 H 317.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BB5BD9
RGBrgb(187, 91, 217)
HSLhsl(286, 62%, 60%)
HSVhsv(286, 58%, 85%)
CMYKcmyk(13.8%, 58.1%, 0%, 14.9%)
CIE-LABlab(55.13, 57.68, -48.44)
CIE-LCHlch(55.13, 75.32, 319.98°)
OKLaboklab(63.77% 0.1473 -0.1352)
OKLCHoklch(63.77% 0.2 317.4)
XYZxyz(36.7572, 23.0581, 68.1466)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BD9 #79D95B
analogous
#7C5BD9 #BB5BD9 #D95BB8
triadic
#BB5BD9 #D9BB5B #5BD9BB
tetradic
#BB5BD9 #D97C5B #79D95B #5BB8D9
square
#BB5BD9 #D97C5B #79D95B #5BB8D9
split-complementary
#BB5BD9 #B8D95B #5BD97C
monochromatic
#7B2397 #A42EC8 #BB5BD9 #D08DE5 #E4BEF0

Accessibility & contrast

On white

3.74
#BB5BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BB5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BD9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BD9#FFFFFF#000000##000000
##BB5BD91.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#5F87D6
Tritanopia (blue-blind)
#BA7092
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb5bd9;
/* rgb */ color: rgb(187, 91, 217);
/* oklch */ color: oklch(63.8% 0.200 317.4);
Tailwind
colors: {
  custom: {
    50: '#d28ee5',
    500: '#bb5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bd9;
$custom-light: #d28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bd9",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 285.714,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63774,
    "c": 0.19995,
    "h": 317.4
  },
  "luminance": 0.23057
}

Semantic roles & 50–950 ramp

primary
#BB5BD9
secondary
#BBE0B0
accent
#CA1B45
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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