#BC2AA7#BC2AA7

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

Color values

HEX#BC2AA7
RGBrgb(188, 42, 167)
HSLhsl(309, 63%, 45%)
HSVhsv(309, 78%, 74%)
CMYKcmyk(0%, 77.7%, 11.2%, 26.3%)
CIE-LABlab(45.83, 68.34, -34.18)
CIE-LCHlch(45.83, 76.41, 333.43°)
OKLaboklab(56.23% 0.1994 -0.0935)
OKLCHoklch(56.23% 0.22 334.9)
XYZxyz(28.5424, 15.1399, 37.9708)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2AA7 #2ABC3F
analogous
#882ABC #BC2AA7 #BC2A5E
triadic
#BC2AA7 #A7BC2A #2AA7BC
tetradic
#BC2AA7 #BC882A #2ABC3F #2A5EBC
square
#BC2AA7 #BC882A #2ABC3F #2A5EBC
split-complementary
#BC2AA7 #5EBC2A #2ABC88
monochromatic
#58144E #8A1F7B #BC2AA7 #D74CC3 #E27ED4

Accessibility & contrast

On white

5.21
#BC2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BC2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2AA7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2AA7#FFFFFF#000000##FFFFFF
##BC2AA71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#C53867
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc2aa7;
/* rgb */ color: rgb(188, 42, 167);
/* oklch */ color: oklch(56.2% 0.220 334.9);
Tailwind
colors: {
  custom: {
    50: '#d474c1',
    500: '#bc2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #bc2aa7;
$custom-light: #d474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2aa7",
  "rgb": {
    "r": 188,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 308.63,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.22026,
    "h": 334.9
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#BC2AA7
secondary
#77CB83
accent
#E75941
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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