#BC21B9#BC21B9

#BC21B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.240 H 329.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BC21B9
RGBrgb(188, 33, 185)
HSLhsl(301, 70%, 43%)
HSVhsv(301, 82%, 74%)
CMYKcmyk(0%, 82.4%, 1.6%, 26.3%)
CIE-LABlab(46.02, 73.25, -44.49)
CIE-LCHlch(46.02, 85.70, 328.73°)
OKLaboklab(56.68% 0.206 -0.1233)
OKLCHoklch(56.68% 0.24 329.1)
XYZxyz(30.0396, 15.2842, 47.2575)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC21B9 #21BC24
analogous
#7121BC #BC21B9 #BC216B
triadic
#BC21B9 #B9BC21 #21B9BC
tetradic
#BC21B9 #BC7121 #21BC24 #216BBC
square
#BC21B9 #BC7121 #21BC24 #216BBC
split-complementary
#BC21B9 #6BBC21 #21BC71
monochromatic
#540F53 #881886 #BC21B9 #DD3DDA #E671E4

Accessibility & contrast

On white

5.18
#BC21B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BC21B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC21B9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC21B9#FFFFFF#000000##FFFFFF
##BC21B91.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#5374B5
Tritanopia (blue-blind)
#C33D6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc21b9;
/* rgb */ color: rgb(188, 33, 185);
/* oklch */ color: oklch(56.7% 0.240 329.1);
Tailwind
colors: {
  custom: {
    50: '#d572ce',
    500: '#bc21b9',
    950: '#000000',
  },
}
SCSS
$custom: #bc21b9;
$custom-light: #d572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc21b9",
  "rgb": {
    "r": 188,
    "g": 33,
    "b": 185
  },
  "hsl": {
    "h": 301.161,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.2401,
    "h": 329.1
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#BC21B9
secondary
#6CCD6E
accent
#ED3E3B
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BC21B9

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

Preview Lab → · Contrast checker → · Palette generator →

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