#BC28A6#BC28A6

#BC28A6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.221 H 335.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BC28A6
RGBrgb(188, 40, 166)
HSLhsl(309, 65%, 45%)
HSVhsv(309, 79%, 74%)
CMYKcmyk(0%, 78.7%, 11.7%, 26.3%)
CIE-LABlab(45.59, 68.74, -33.96)
CIE-LCHlch(45.59, 76.67, 333.71°)
OKLaboklab(56.04% 0.201 -0.0929)
OKLCHoklch(56.04% 0.221 335.2)
XYZxyz(28.3812, 14.9647, 37.4628)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A6 #28BC3E
analogous
#8828BC #BC28A6 #BC285C
triadic
#BC28A6 #A6BC28 #28A6BC
tetradic
#BC28A6 #BC8828 #28BC3E #285CBC
square
#BC28A6 #BC8828 #28BC3E #285CBC
split-complementary
#BC28A6 #5CBC28 #28BC88
monochromatic
#57134D #8A1D79 #BC28A6 #D849C3 #E37BD4

Accessibility & contrast

On white

5.26
#BC28A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BC28A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28A6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A6#FFFFFF#000000##FFFFFF
##BC28A61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#C63666
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc28a6;
/* rgb */ color: rgb(188, 40, 166);
/* oklch */ color: oklch(56.0% 0.221 335.2);
Tailwind
colors: {
  custom: {
    50: '#d474c1',
    500: '#bc28a6',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a6;
$custom-light: #d474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a6",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 308.919,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.2214,
    "h": 335.2
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#BC28A6
secondary
#75CB82
accent
#E85940
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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