#BC28A5#BC28A5

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

Color values

HEX#BC28A5
RGBrgb(188, 40, 165)
HSLhsl(309, 65%, 45%)
HSVhsv(309, 79%, 74%)
CMYKcmyk(0%, 78.7%, 12.2%, 26.3%)
CIE-LABlab(45.54, 68.60, -33.45)
CIE-LCHlch(45.54, 76.32, 334.01°)
OKLaboklab(55.99% 0.2009 -0.0914)
OKLCHoklch(55.99% 0.221 335.5)
XYZxyz(28.2898, 14.9282, 36.9815)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A5 #28BC3F
analogous
#8928BC #BC28A5 #BC285B
triadic
#BC28A5 #A5BC28 #28A5BC
tetradic
#BC28A5 #BC8928 #28BC3F #285BBC
square
#BC28A5 #BC8928 #28BC3F #285BBC
split-complementary
#BC28A5 #5BBC28 #28BC89
monochromatic
#57134C #8A1D79 #BC28A5 #D849C2 #E37BD3

Accessibility & contrast

On white

5.27
#BC28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC28A5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A5#FFFFFF#000000##FFFFFF
##BC28A51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#C63565
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc28a5;
/* rgb */ color: rgb(188, 40, 165);
/* oklch */ color: oklch(56.0% 0.221 335.5);
Tailwind
colors: {
  custom: {
    50: '#d474c0',
    500: '#bc28a5',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a5;
$custom-light: #d474c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a5",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 309.324,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.22073,
    "h": 335.5
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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