#BB5DB2#BB5DB2

#BB5DB2 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.0% C 0.160 H 331.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB5DB2
RGBrgb(187, 93, 178)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 50%, 73%)
CMYKcmyk(0%, 50.3%, 4.8%, 26.7%)
CIE-LABlab(53.61, 49.39, -28.48)
CIE-LCHlch(53.61, 57.02, 330.03°)
OKLaboklab(62.04% 0.1402 -0.0777)
OKLCHoklch(62.04% 0.16 331)
XYZxyz(32.4435, 21.6098, 44.5731)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DB2 #5DBB66
analogous
#955DBB #BB5DB2 #BB5D83
triadic
#BB5DB2 #B2BB5D #5DB2BB
tetradic
#BB5DB2 #BB955D #5DBB66 #5D83BB
square
#BB5DB2 #BB955D #5DBB66 #5D83BB
split-complementary
#BB5DB2 #83BB5D #5DBB95
monochromatic
#6F2F69 #9A4192 #BB5DB2 #CD88C6 #DFB3DB

Accessibility & contrast

On white

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

On black

5.32
#BB5DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DB2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DB2#FFFFFF#000000##000000
##BB5DB21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#C1647F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5db2;
/* rgb */ color: rgb(187, 93, 178);
/* oklch */ color: oklch(62.0% 0.160 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28ec9',
    500: '#bb5db2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5db2;
$custom-light: #d28ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5db2",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 305.745,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.16026,
    "h": 331
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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