#BD21AF#BD21AF

#BD21AF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.234 H 332.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BD21AF
RGBrgb(189, 33, 175)
HSLhsl(305, 70%, 44%)
HSVhsv(305, 83%, 74%)
CMYKcmyk(0%, 82.5%, 7.4%, 25.9%)
CIE-LABlab(45.64, 71.95, -39.20)
CIE-LCHlch(45.64, 81.94, 331.42°)
OKLaboklab(56.26% 0.2072 -0.1079)
OKLCHoklch(56.26% 0.234 332.5)
XYZxyz(29.2681, 15.0042, 41.9038)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21AF #21BD2F
analogous
#7D21BD #BD21AF #BD2161
triadic
#BD21AF #AFBD21 #21AFBD
tetradic
#BD21AF #BD7D21 #21BD2F #2161BD
square
#BD21AF #BD7D21 #21BD2F #2161BD
split-complementary
#BD21AF #61BD21 #21BD7D
monochromatic
#550F4F #89187F #BD21AF #DD3ECF #E672DC

Accessibility & contrast

On white

5.25
#BD21AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BD21AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21AF#FFFFFF#000000##FFFFFF
##BD21AF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB3
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#C5366A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd21af;
/* rgb */ color: rgb(189, 33, 175);
/* oklch */ color: oklch(56.3% 0.234 332.5);
Tailwind
colors: {
  custom: {
    50: '#d572c7',
    500: '#bd21af',
    950: '#000000',
  },
}
SCSS
$custom: #bd21af;
$custom-light: #d572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21af",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 305.385,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.23364,
    "h": 332.5
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#BD21AF
secondary
#6DCD75
accent
#ED4B3B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD21AF

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

Preview Lab → · Contrast checker → · Palette generator →

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