#BC28BD#BC28BD

#BC28BD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.238 H 327.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BC28BD
RGBrgb(188, 40, 189)
HSLhsl(300, 65%, 45%)
HSVhsv(300, 79%, 74%)
CMYKcmyk(0.5%, 78.8%, 0%, 25.9%)
CIE-LABlab(46.82, 72.20, -45.55)
CIE-LCHlch(46.82, 85.37, 327.75°)
OKLaboklab(57.32% 0.2011 -0.1265)
OKLCHoklch(57.32% 0.238 327.8)
XYZxyz(30.6827, 15.8854, 49.5844)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28BD #29BD28
analogous
#7128BD #BC28BD #BD2874
triadic
#BC28BD #BDBC28 #28BDBC
tetradic
#BC28BD #BD7128 #29BD28 #2874BD
square
#BC28BD #BD7128 #29BD28 #2874BD
split-complementary
#BC28BD #74BD28 #28BD71
monochromatic
#581358 #8A1D8A #BC28BD #D84AD9 #E37CE3

Accessibility & contrast

On white

5.03
#BC28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BC28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28BD#FFFFFF#000000##FFFFFF
##BC28BD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#C24373
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc28bd;
/* rgb */ color: rgb(188, 40, 189);
/* oklch */ color: oklch(57.3% 0.238 327.8);
Tailwind
colors: {
  custom: {
    50: '#d475d1',
    500: '#bc28bd',
    950: '#000000',
  },
}
SCSS
$custom: #bc28bd;
$custom-light: #d475d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28bd",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 299.597,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.23757,
    "h": 327.8
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#BC28BD
secondary
#76CB75
accent
#E84041
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BC28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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