#BB5DB1#BB5DB1

#BB5DB1 is a mid, vivid purple. Relative luminance 0.216; OKLCH L 62.0% C 0.159 H 331.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BB5DB1
RGBrgb(187, 93, 177)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 50%, 73%)
CMYKcmyk(0%, 50.3%, 5.3%, 26.7%)
CIE-LABlab(53.57, 49.22, -27.97)
CIE-LCHlch(53.57, 56.61, 330.39°)
OKLaboklab(62% 0.14 -0.0762)
OKLCHoklch(62% 0.159 331.4)
XYZxyz(32.3435, 21.5698, 44.0463)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DB1 #5DBB67
analogous
#965DBB #BB5DB1 #BB5D82
triadic
#BB5DB1 #B1BB5D #5DB1BB
tetradic
#BB5DB1 #BB965D #5DBB67 #5D82BB
square
#BB5DB1 #BB965D #5DBB67 #5D82BB
split-complementary
#BB5DB1 #82BB5D #5DBB96
monochromatic
#6F2F68 #9A4191 #BB5DB1 #CD88C6 #DFB3DB

Accessibility & contrast

On white

3.95
#BB5DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BB5DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DB1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DB1#FFFFFF#000000##000000
##BB5DB11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#C2647F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5db1;
/* rgb */ color: rgb(187, 93, 177);
/* oklch */ color: oklch(62.0% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#d28ec8',
    500: '#bb5db1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5db1;
$custom-light: #d28ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5db1",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 306.383,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.15939,
    "h": 331.4
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#BB5DB1
secondary
#A6CEAA
accent
#D16457
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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