#BC28A4#BC28A4

#BC28A4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.220 H 335.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BC28A4
RGBrgb(188, 40, 164)
HSLhsl(310, 65%, 45%)
HSVhsv(310, 79%, 74%)
CMYKcmyk(0%, 78.7%, 12.8%, 26.3%)
CIE-LABlab(45.49, 68.45, -32.93)
CIE-LCHlch(45.49, 75.96, 334.31°)
OKLaboklab(55.93% 0.2008 -0.0899)
OKLCHoklch(55.93% 0.22 335.9)
XYZxyz(28.1991, 14.8919, 36.5041)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC28A4 #28BC40
analogous
#8A28BC #BC28A4 #BC285A
triadic
#BC28A4 #A4BC28 #28A4BC
tetradic
#BC28A4 #BC8A28 #28BC40 #285ABC
square
#BC28A4 #BC8A28 #28BC40 #285ABC
split-complementary
#BC28A4 #5ABC28 #28BC8A
monochromatic
#57134C #8A1D78 #BC28A4 #D849C1 #E37BD2

Accessibility & contrast

On white

5.28
#BC28A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BC28A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC28A4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC28A4#FFFFFF#000000##FFFFFF
##BC28A41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#6173A1
Tritanopia (blue-blind)
#C63565
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc28a4;
/* rgb */ color: rgb(188, 40, 164);
/* oklch */ color: oklch(55.9% 0.220 335.9);
Tailwind
colors: {
  custom: {
    50: '#d474bf',
    500: '#bc28a4',
    950: '#000000',
  },
}
SCSS
$custom: #bc28a4;
$custom-light: #d474bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc28a4",
  "rgb": {
    "r": 188,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 309.73,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.22006,
    "h": 335.9
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#BC28A4
secondary
#75CB83
accent
#E85B40
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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