#BD21B9#BD21B9

#BD21B9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.241 H 329.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BD21B9
RGBrgb(189, 33, 185)
HSLhsl(302, 70%, 44%)
HSVhsv(302, 83%, 74%)
CMYKcmyk(0%, 82.5%, 2.1%, 25.9%)
CIE-LABlab(46.19, 73.44, -44.21)
CIE-LCHlch(46.19, 85.72, 328.95°)
OKLaboklab(56.83% 0.207 -0.1225)
OKLCHoklch(56.83% 0.241 329.4)
XYZxyz(30.2869, 15.4117, 47.2691)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21B9 #21BD25
analogous
#7321BD #BD21B9 #BD216B
triadic
#BD21B9 #B9BD21 #21B9BD
tetradic
#BD21B9 #BD7321 #21BD25 #216BBD
square
#BD21B9 #BD7321 #21BD25 #216BBD
split-complementary
#BD21B9 #6BBD21 #21BD73
monochromatic
#550F53 #891886 #BD21B9 #DD3ED9 #E672E3

Accessibility & contrast

On white

5.14
#BD21B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BD21B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21B9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21B9#FFFFFF#000000##FFFFFF
##BD21B91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#C43C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd21b9;
/* rgb */ color: rgb(189, 33, 185);
/* oklch */ color: oklch(56.8% 0.241 329.4);
Tailwind
colors: {
  custom: {
    50: '#d572ce',
    500: '#bd21b9',
    950: '#000000',
  },
}
SCSS
$custom: #bd21b9;
$custom-light: #d572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21b9",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 185
  },
  "hsl": {
    "h": 301.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.24054,
    "h": 329.4
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#BD21B9
secondary
#6DCD6F
accent
#ED3F3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD21B9

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

Preview Lab → · Contrast checker → · Palette generator →

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