#BD21BD#BD21BD

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

Color values

HEX#BD21BD
RGBrgb(189, 33, 189)
HSLhsl(300, 70%, 44%)
HSVhsv(300, 83%, 74%)
CMYKcmyk(0%, 82.5%, 0%, 25.9%)
CIE-LABlab(46.42, 74.05, -46.18)
CIE-LCHlch(46.42, 87.27, 328.05°)
OKLaboklab(57.07% 0.2068 -0.1282)
OKLCHoklch(57.07% 0.243 328.2)
XYZxyz(30.7151, 15.5830, 49.5243)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21BD #21BD21
analogous
#6F21BD #BD21BD #BD216F
triadic
#BD21BD #BDBD21 #21BDBD
tetradic
#BD21BD #BD6F21 #21BD21 #216FBD
square
#BD21BD #BD6F21 #21BD21 #216FBD
split-complementary
#BD21BD #6FBD21 #21BD6F
monochromatic
#550F55 #891889 #BD21BD #DD3EDD #E672E6

Accessibility & contrast

On white

5.10
#BD21BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD21BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21BD#FFFFFF#000000##FFFFFF
##BD21BD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#C33F72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd21bd;
/* rgb */ color: rgb(189, 33, 189);
/* oklch */ color: oklch(57.1% 0.243 328.2);
Tailwind
colors: {
  custom: {
    50: '#d573d1',
    500: '#bd21bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd21bd;
$custom-light: #d573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21bd",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.24335,
    "h": 328.2
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#BD21BD
secondary
#6DCD6D
accent
#ED3B3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD21BD

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

Preview Lab → · Contrast checker → · Palette generator →

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