#BB2DCD#BB2DCD

#BB2DCD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.5% C 0.245 H 322.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BB2DCD
RGBrgb(187, 45, 205)
HSLhsl(293, 64%, 49%)
HSVhsv(293, 78%, 80%)
CMYKcmyk(8.8%, 78%, 0%, 19.6%)
CIE-LABlab(48.07, 73.29, -52.85)
CIE-LCHlch(48.07, 90.35, 324.20°)
OKLaboklab(58.48% 0.1952 -0.1478)
OKLCHoklch(58.48% 0.245 322.9)
XYZxyz(32.4503, 16.8513, 59.2892)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DCD #3FCD2D
analogous
#6B2DCD #BB2DCD #CD2D8F
triadic
#BB2DCD #CDBB2D #2DCDBB
tetradic
#BB2DCD #CD6B2D #3FCD2D #2D8FCD
square
#BB2DCD #CD6B2D #3FCD2D #2D8FCD
split-complementary
#BB2DCD #8FCD2D #2DCD6B
monochromatic
#5F1769 #8D229B #BB2DCD #CD5CDB #DC8EE6

Accessibility & contrast

On white

4.81
#BB2DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BB2DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2DCD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DCD#FFFFFF#000000##FFFFFF
##BB2DCD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#BE4E7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb2dcd;
/* rgb */ color: rgb(187, 45, 205);
/* oklch */ color: oklch(58.5% 0.245 322.9);
Tailwind
colors: {
  custom: {
    50: '#d477dd',
    500: '#bb2dcd',
    950: '#000000',
  },
}
SCSS
$custom: #bb2dcd;
$custom-light: #d477dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2dcd",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 205
  },
  "hsl": {
    "h": 293.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.24484,
    "h": 322.9
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#BB2DCD
secondary
#8ED185
accent
#E74153
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB2DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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