#BC28A9#BC28A9

#BC28A9 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 334.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BC28A9
RGBrgb(188, 40, 169)
HSLhsl(308, 65%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 78.7%, 10.1%, 26.3%)
CIE-LABlab(45.74, 69.17, -35.50)
CIE-LCHlch(45.74, 77.75, 332.83°)
OKLaboklab(56.2% 0.2011 -0.0973)
OKLCHoklch(56.2% 0.223 334.2)
XYZxyz(28.6596, 15.0761, 38.9290)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A9 #28BC3B
analogous
#8528BC #BC28A9 #BC285F
triadic
#BC28A9 #A9BC28 #28A9BC
tetradic
#BC28A9 #BC8528 #28BC3B #285FBC
square
#BC28A9 #BC8528 #28BC3B #285FBC
split-complementary
#BC28A9 #5FBC28 #28BC85
monochromatic
#57134E #8A1D7C #BC28A9 #D849C6 #E37BD6

Accessibility & contrast

On white

5.23
#BC28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BC28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28A9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A9#FFFFFF#000000##FFFFFF
##BC28A91.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#C53868
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc28a9;
/* rgb */ color: rgb(188, 40, 169);
/* oklch */ color: oklch(56.2% 0.223 334.2);
Tailwind
colors: {
  custom: {
    50: '#d474c3',
    500: '#bc28a9',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a9;
$custom-light: #d474c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a9",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 307.703,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.22344,
    "h": 334.2
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#BC28A9
secondary
#75CB80
accent
#E85540
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BC28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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