#BD21B0#BD21B0

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

Color values

HEX#BD21B0
RGBrgb(189, 33, 176)
HSLhsl(305, 70%, 44%)
HSVhsv(305, 83%, 74%)
CMYKcmyk(0%, 82.5%, 6.9%, 25.9%)
CIE-LABlab(45.69, 72.10, -39.71)
CIE-LCHlch(45.69, 82.31, 331.16°)
OKLaboklab(56.32% 0.2072 -0.1094)
OKLCHoklch(56.32% 0.234 332.2)
XYZxyz(29.3667, 15.0437, 42.4229)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21B0 #21BD2E
analogous
#7C21BD #BD21B0 #BD2162
triadic
#BD21B0 #B0BD21 #21B0BD
tetradic
#BD21B0 #BD7C21 #21BD2E #2162BD
square
#BD21B0 #BD7C21 #21BD2E #2162BD
split-complementary
#BD21B0 #62BD21 #21BD7C
monochromatic
#550F4F #89187F #BD21B0 #DD3ED0 #E672DD

Accessibility & contrast

On white

5.24
#BD21B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BD21B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21B0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21B0#FFFFFF#000000##FFFFFF
##BD21B01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB4
Deuteranopia (green-blind)
#5974AD
Tritanopia (blue-blind)
#C5376A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd21b0;
/* rgb */ color: rgb(189, 33, 176);
/* oklch */ color: oklch(56.3% 0.234 332.2);
Tailwind
colors: {
  custom: {
    50: '#d572c8',
    500: '#bd21b0',
    950: '#000000',
  },
}
SCSS
$custom: #bd21b0;
$custom-light: #d572c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21b0",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 305,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.23433,
    "h": 332.2
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD21B0

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

Preview Lab → · Contrast checker → · Palette generator →

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