#BD21BB#BD21BB

#BD21BB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.242 H 328.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BD21BB
RGBrgb(189, 33, 187)
HSLhsl(301, 70%, 44%)
HSVhsv(301, 83%, 74%)
CMYKcmyk(0%, 82.5%, 1.1%, 25.9%)
CIE-LABlab(46.31, 73.75, -45.20)
CIE-LCHlch(46.31, 86.49, 328.50°)
OKLaboklab(56.95% 0.2069 -0.1254)
OKLCHoklch(56.95% 0.242 328.8)
XYZxyz(30.4995, 15.4968, 48.3889)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21BB #21BD23
analogous
#7121BD #BD21BB #BD216D
triadic
#BD21BB #BBBD21 #21BBBD
tetradic
#BD21BB #BD7121 #21BD23 #216DBD
square
#BD21BB #BD7121 #21BD23 #216DBD
split-complementary
#BD21BB #6DBD21 #21BD71
monochromatic
#550F54 #891887 #BD21BB #DD3EDB #E672E5

Accessibility & contrast

On white

5.12
#BD21BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BD21BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21BB#FFFFFF#000000##FFFFFF
##BD21BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#5375B7
Tritanopia (blue-blind)
#C43E71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd21bb;
/* rgb */ color: rgb(189, 33, 187);
/* oklch */ color: oklch(56.9% 0.242 328.8);
Tailwind
colors: {
  custom: {
    50: '#d573d0',
    500: '#bd21bb',
    950: '#000000',
  },
}
SCSS
$custom: #bd21bb;
$custom-light: #d573d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21bb",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 300.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.24194,
    "h": 328.8
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#BD21BB
secondary
#6DCD6E
accent
#ED3D3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD21BB

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

Preview Lab → · Contrast checker → · Palette generator →

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