#BD21B5#BD21B5

#BD21B5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.238 H 330.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BD21B5
RGBrgb(189, 33, 181)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 83%, 74%)
CMYKcmyk(0%, 82.5%, 4.2%, 25.9%)
CIE-LABlab(45.97, 72.84, -42.22)
CIE-LCHlch(45.97, 84.19, 329.90°)
OKLaboklab(56.6% 0.2072 -0.1167)
OKLCHoklch(56.6% 0.238 330.6)
XYZxyz(29.8706, 15.2452, 45.0765)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21B5 #21BD29
analogous
#7721BD #BD21B5 #BD2167
triadic
#BD21B5 #B5BD21 #21B5BD
tetradic
#BD21B5 #BD7721 #21BD29 #2167BD
square
#BD21B5 #BD7721 #21BD29 #2167BD
split-complementary
#BD21B5 #67BD21 #21BD77
monochromatic
#550F51 #891883 #BD21B5 #DD3ED5 #E672E0

Accessibility & contrast

On white

5.19
#BD21B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BD21B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21B5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21B5#FFFFFF#000000##FFFFFF
##BD21B51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#C43A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd21b5;
/* rgb */ color: rgb(189, 33, 181);
/* oklch */ color: oklch(56.6% 0.238 330.6);
Tailwind
colors: {
  custom: {
    50: '#d572cc',
    500: '#bd21b5',
    950: '#000000',
  },
}
SCSS
$custom: #bd21b5;
$custom-light: #d572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21b5",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 181
  },
  "hsl": {
    "h": 303.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.23776,
    "h": 330.6
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#BD21B5
secondary
#6DCD72
accent
#ED443B
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD21B5

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

Preview Lab → · Contrast checker → · Palette generator →

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