#BD21AE#BD21AE

#BD21AE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.233 H 332.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BD21AE
RGBrgb(189, 33, 174)
HSLhsl(306, 70%, 44%)
HSVhsv(306, 83%, 74%)
CMYKcmyk(0%, 82.5%, 7.9%, 25.9%)
CIE-LABlab(45.59, 71.81, -38.69)
CIE-LCHlch(45.59, 81.57, 331.68°)
OKLaboklab(56.21% 0.2072 -0.1065)
OKLCHoklch(56.21% 0.233 332.8)
XYZxyz(29.1703, 14.9651, 41.3884)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21AE #21BD30
analogous
#7E21BD #BD21AE #BD2160
triadic
#BD21AE #AEBD21 #21AEBD
tetradic
#BD21AE #BD7E21 #21BD30 #2160BD
square
#BD21AE #BD7E21 #21BD30 #2160BD
split-complementary
#BD21AE #60BD21 #21BD7E
monochromatic
#550F4E #89187E #BD21AE #DD3ECE #E672DB

Accessibility & contrast

On white

5.26
#BD21AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BD21AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21AE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21AE#FFFFFF#000000##FFFFFF
##BD21AE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB2
Deuteranopia (green-blind)
#5B73AB
Tritanopia (blue-blind)
#C63669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd21ae;
/* rgb */ color: rgb(189, 33, 174);
/* oklch */ color: oklch(56.2% 0.233 332.8);
Tailwind
colors: {
  custom: {
    50: '#d572c6',
    500: '#bd21ae',
    950: '#000000',
  },
}
SCSS
$custom: #bd21ae;
$custom-light: #d572c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21ae",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 305.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.23297,
    "h": 332.8
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#BD21AE
secondary
#6DCD76
accent
#ED4C3B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD21AE

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

Preview Lab → · Contrast checker → · Palette generator →

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