#BC21B8#BC21B8

#BC21B8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.239 H 329.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BC21B8
RGBrgb(188, 33, 184)
HSLhsl(302, 70%, 43%)
HSVhsv(302, 82%, 74%)
CMYKcmyk(0%, 82.4%, 2.1%, 26.3%)
CIE-LABlab(45.96, 73.10, -44.00)
CIE-LCHlch(45.96, 85.32, 328.96°)
OKLaboklab(56.62% 0.2061 -0.1219)
OKLCHoklch(56.62% 0.239 329.4)
XYZxyz(29.9344, 15.2422, 46.7035)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC21B8 #21BC25
analogous
#7221BC #BC21B8 #BC216B
triadic
#BC21B8 #B8BC21 #21B8BC
tetradic
#BC21B8 #BC7221 #21BC25 #216BBC
square
#BC21B8 #BC7221 #21BC25 #216BBC
split-complementary
#BC21B8 #6BBC21 #21BC72
monochromatic
#540F52 #881885 #BC21B8 #DD3DD9 #E671E3

Accessibility & contrast

On white

5.19
#BC21B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BC21B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC21B8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC21B8#FFFFFF#000000##FFFFFF
##BC21B81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#C33C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc21b8;
/* rgb */ color: rgb(188, 33, 184);
/* oklch */ color: oklch(56.6% 0.239 329.4);
Tailwind
colors: {
  custom: {
    50: '#d572ce',
    500: '#bc21b8',
    950: '#000000',
  },
}
SCSS
$custom: #bc21b8;
$custom-light: #d572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc21b8",
  "rgb": {
    "r": 188,
    "g": 33,
    "b": 184
  },
  "hsl": {
    "h": 301.548,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.23941,
    "h": 329.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC21B8

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

Preview Lab → · Contrast checker → · Palette generator →

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