#BC2FA7#BC2FA7

#BC2FA7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.215 H 334.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BC2FA7
RGBrgb(188, 47, 167)
HSLhsl(309, 60%, 46%)
HSVhsv(309, 75%, 74%)
CMYKcmyk(0%, 75%, 11.2%, 26.3%)
CIE-LABlab(46.33, 66.88, -33.38)
CIE-LCHlch(46.33, 74.75, 333.48°)
OKLaboklab(56.59% 0.1951 -0.0913)
OKLCHoklch(56.59% 0.215 334.9)
XYZxyz(28.7310, 15.5170, 38.0336)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2FA7 #2FBC44
analogous
#8A2FBC #BC2FA7 #BC2F60
triadic
#BC2FA7 #A7BC2F #2FA7BC
tetradic
#BC2FA7 #BC8A2F #2FBC44 #2F60BC
square
#BC2FA7 #BC8A2F #2FBC44 #2F60BC
split-complementary
#BC2FA7 #60BC2F #2FBC8A
monochromatic
#5A1750 #8B237C #BC2FA7 #D454C1 #E085D3

Accessibility & contrast

On white

5.12
#BC2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BC2FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2FA7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2FA7#FFFFFF#000000##FFFFFF
##BC2FA71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#6275A4
Tritanopia (blue-blind)
#C53B68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc2fa7;
/* rgb */ color: rgb(188, 47, 167);
/* oklch */ color: oklch(56.6% 0.215 334.9);
Tailwind
colors: {
  custom: {
    50: '#d476c1',
    500: '#bc2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bc2fa7;
$custom-light: #d476c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2fa7",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 308.936,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.2154,
    "h": 334.9
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#BC2FA7
secondary
#7DCA88
accent
#E35C45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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