#BD21BC#BD21BC

#BD21BC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 57.0% C 0.243 H 328.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BD21BC
RGBrgb(189, 33, 188)
HSLhsl(300, 70%, 44%)
HSVhsv(300, 83%, 74%)
CMYKcmyk(0%, 82.5%, 0.5%, 25.9%)
CIE-LABlab(46.36, 73.90, -45.69)
CIE-LCHlch(46.36, 86.88, 328.27°)
OKLaboklab(57.01% 0.2069 -0.1268)
OKLCHoklch(57.01% 0.243 328.5)
XYZxyz(30.6069, 15.5397, 48.9546)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21BC #21BD22
analogous
#7021BD #BD21BC #BD216E
triadic
#BD21BC #BCBD21 #21BCBD
tetradic
#BD21BC #BD7021 #21BD22 #216EBD
square
#BD21BC #BD7021 #21BD22 #216EBD
split-complementary
#BD21BC #6EBD21 #21BD70
monochromatic
#550F54 #891888 #BD21BC #DD3EDC #E672E6

Accessibility & contrast

On white

5.11
#BD21BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BD21BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21BC#FFFFFF#000000##FFFFFF
##BD21BC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#5275B8
Tritanopia (blue-blind)
#C33E71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd21bc;
/* rgb */ color: rgb(189, 33, 188);
/* oklch */ color: oklch(57.0% 0.243 328.5);
Tailwind
colors: {
  custom: {
    50: '#d573d1',
    500: '#bd21bc',
    950: '#000000',
  },
}
SCSS
$custom: #bd21bc;
$custom-light: #d573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21bc",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 300.385,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57008,
    "c": 0.24264,
    "h": 328.5
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#BD21BC
secondary
#6DCD6D
accent
#ED3C3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD21BC

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

Preview Lab → · Contrast checker → · Palette generator →

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