#BC28A7#BC28A7

#BC28A7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.222 H 334.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BC28A7
RGBrgb(188, 40, 167)
HSLhsl(309, 65%, 45%)
HSVhsv(309, 79%, 74%)
CMYKcmyk(0%, 78.7%, 11.2%, 26.3%)
CIE-LABlab(45.64, 68.88, -34.48)
CIE-LCHlch(45.64, 77.03, 333.41°)
OKLaboklab(56.09% 0.201 -0.0944)
OKLCHoklch(56.09% 0.222 334.8)
XYZxyz(28.4733, 15.0016, 37.9477)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A7 #28BC3D
analogous
#8728BC #BC28A7 #BC285D
triadic
#BC28A7 #A7BC28 #28A7BC
tetradic
#BC28A7 #BC8728 #28BC3D #285DBC
square
#BC28A7 #BC8728 #28BC3D #285DBC
split-complementary
#BC28A7 #5DBC28 #28BC87
monochromatic
#57134D #8A1D7A #BC28A7 #D849C4 #E37BD4

Accessibility & contrast

On white

5.25
#BC28A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BC28A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28A7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A7#FFFFFF#000000##FFFFFF
##BC28A71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#C53667
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc28a7;
/* rgb */ color: rgb(188, 40, 167);
/* oklch */ color: oklch(56.1% 0.222 334.8);
Tailwind
colors: {
  custom: {
    50: '#d474c1',
    500: '#bc28a7',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a7;
$custom-light: #d474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a7",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 308.514,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.22208,
    "h": 334.8
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

primary
#BC28A7
secondary
#75CB81
accent
#E85840
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC28A7

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

Preview Lab → · Contrast checker → · Palette generator →

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