#BB56DB#BB56DB

#BB56DB is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.209 H 317.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BB56DB
RGBrgb(187, 86, 219)
HSLhsl(286, 65%, 60%)
HSVhsv(286, 61%, 86%)
CMYKcmyk(14.6%, 60.7%, 0%, 14.1%)
CIE-LABlab(54.38, 60.41, -50.76)
CIE-LCHlch(54.38, 78.91, 319.96°)
OKLaboklab(63.26% 0.1535 -0.142)
OKLCHoklch(63.26% 0.209 317.2)
XYZxyz(36.6056, 22.3363, 69.3872)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56DB #76DB56
analogous
#7956DB #BB56DB #DB56B8
triadic
#BB56DB #DBBB56 #56DBBB
tetradic
#BB56DB #DB7956 #76DB56 #56B8DB
square
#BB56DB #DB7956 #76DB56 #56B8DB
split-complementary
#BB56DB #B8DB56 #56DB79
monochromatic
#7A2097 #A32BC9 #BB56DB #CF88E6 #E4BBF0

Accessibility & contrast

On white

3.84
#BB56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BB56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56DB#FFFFFF#000000##000000
##BB56DB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#5A85D8
Tritanopia (blue-blind)
#BA6D91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb56db;
/* rgb */ color: rgb(187, 86, 219);
/* oklch */ color: oklch(63.3% 0.209 317.2);
Tailwind
colors: {
  custom: {
    50: '#d38be7',
    500: '#bb56db',
    950: '#000000',
  },
}
SCSS
$custom: #bb56db;
$custom-light: #d38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56db",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 285.564,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63263,
    "c": 0.20908,
    "h": 317.2
  },
  "luminance": 0.22335
}

Semantic roles & 50–950 ramp

primary
#BB56DB
secondary
#B9E0AD
accent
#E84068
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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