#BD21A5#BD21A5

#BD21A5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.227 H 335.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BD21A5
RGBrgb(189, 33, 165)
HSLhsl(309, 70%, 44%)
HSVhsv(309, 83%, 74%)
CMYKcmyk(0%, 82.5%, 12.7%, 25.9%)
CIE-LABlab(45.12, 70.53, -34.09)
CIE-LCHlch(45.12, 78.33, 334.20°)
OKLaboklab(55.72% 0.207 -0.0932)
OKLCHoklch(55.72% 0.227 335.8)
XYZxyz(28.3221, 14.6258, 36.9215)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21A5 #21BD39
analogous
#8721BD #BD21A5 #BD2157
triadic
#BD21A5 #A5BD21 #21A5BD
tetradic
#BD21A5 #BD8721 #21BD39 #2157BD
square
#BD21A5 #BD8721 #21BD39 #2157BD
split-complementary
#BD21A5 #57BD21 #21BD87
monochromatic
#550F4A #891878 #BD21A5 #DD3EC5 #E672D4

Accessibility & contrast

On white

5.35
#BD21A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BD21A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21A5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21A5#FFFFFF#000000##FFFFFF
##BD21A51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C73064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bd21a5;
/* rgb */ color: rgb(189, 33, 165);
/* oklch */ color: oklch(55.7% 0.227 335.8);
Tailwind
colors: {
  custom: {
    50: '#d572c0',
    500: '#bd21a5',
    950: '#000000',
  },
}
SCSS
$custom: #bd21a5;
$custom-light: #d572c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21a5",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 309.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.22698,
    "h": 335.8
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#BD21A5
secondary
#6DCD7B
accent
#ED563B
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD21A5

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

Preview Lab → · Contrast checker → · Palette generator →

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