#BD21BE#BD21BE

#BD21BE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.1% C 0.244 H 327.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BD21BE
RGBrgb(189, 33, 190)
HSLhsl(300, 70%, 44%)
HSVhsv(300, 83%, 75%)
CMYKcmyk(0.5%, 82.6%, 0%, 25.5%)
CIE-LABlab(46.48, 74.21, -46.68)
CIE-LCHlch(46.48, 87.67, 327.83°)
OKLaboklab(57.13% 0.2068 -0.1297)
OKLCHoklch(57.13% 0.244 327.9)
XYZxyz(30.8240, 15.6266, 50.0980)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21BE #22BE21
analogous
#6E21BE #BD21BE #BE2170
triadic
#BD21BE #BEBD21 #21BEBD
tetradic
#BD21BE #BE6E21 #22BE21 #2170BE
square
#BD21BE #BE6E21 #22BE21 #2170BE
split-complementary
#BD21BE #70BE21 #21BE6E
monochromatic
#550F56 #89188A #BD21BE #DD3FDE #E673E7

Accessibility & contrast

On white

5.09
#BD21BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BD21BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21BE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21BE#FFFFFF#000000##FFFFFF
##BD21BE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#C33F72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd21be;
/* rgb */ color: rgb(189, 33, 190);
/* oklch */ color: oklch(57.1% 0.244 327.9);
Tailwind
colors: {
  custom: {
    50: '#d573d2',
    500: '#bd21be',
    950: '#000000',
  },
}
SCSS
$custom: #bd21be;
$custom-light: #d573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21be",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 190
  },
  "hsl": {
    "h": 299.618,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.24405,
    "h": 327.9
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#BD21BE
secondary
#6ECD6D
accent
#ED3B3C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150914
muted
#837B83

Preview Lab

Preview with #BD21BE

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

Preview Lab → · Contrast checker → · Palette generator →

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