#BD21BA#BD21BA

#BD21BA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.241 H 329.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BD21BA
RGBrgb(189, 33, 186)
HSLhsl(301, 70%, 44%)
HSVhsv(301, 83%, 74%)
CMYKcmyk(0%, 82.5%, 1.6%, 25.9%)
CIE-LABlab(46.25, 73.59, -44.70)
CIE-LCHlch(46.25, 86.11, 328.72°)
OKLaboklab(56.89% 0.207 -0.1239)
OKLCHoklch(56.89% 0.241 329.1)
XYZxyz(30.3928, 15.4541, 47.8271)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21BA #21BD24
analogous
#7221BD #BD21BA #BD216C
triadic
#BD21BA #BABD21 #21BABD
tetradic
#BD21BA #BD7221 #21BD24 #216CBD
square
#BD21BA #BD7221 #21BD24 #216CBD
split-complementary
#BD21BA #6CBD21 #21BD72
monochromatic
#550F53 #891887 #BD21BA #DD3EDA #E672E4

Accessibility & contrast

On white

5.13
#BD21BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BD21BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21BA#FFFFFF#000000##FFFFFF
##BD21BA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#C43D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd21ba;
/* rgb */ color: rgb(189, 33, 186);
/* oklch */ color: oklch(56.9% 0.241 329.1);
Tailwind
colors: {
  custom: {
    50: '#d572cf',
    500: '#bd21ba',
    950: '#000000',
  },
}
SCSS
$custom: #bd21ba;
$custom-light: #d572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21ba",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 301.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.24123,
    "h": 329.1
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#BD21BA
secondary
#6DCD6F
accent
#ED3E3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD21BA

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

Preview Lab → · Contrast checker → · Palette generator →

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