#BC2FAB#BC2FAB

#BC2FAB is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.218 H 333.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BC2FAB
RGBrgb(188, 47, 171)
HSLhsl(307, 60%, 46%)
HSVhsv(307, 75%, 74%)
CMYKcmyk(0%, 75%, 9%, 26.3%)
CIE-LABlab(46.53, 67.47, -35.43)
CIE-LCHlch(46.53, 76.21, 332.29°)
OKLaboklab(56.8% 0.1954 -0.0972)
OKLCHoklch(56.8% 0.218 333.5)
XYZxyz(29.1065, 15.6672, 40.0113)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2FAB #2FBC40
analogous
#862FBC #BC2FAB #BC2F64
triadic
#BC2FAB #ABBC2F #2FABBC
tetradic
#BC2FAB #BC862F #2FBC40 #2F64BC
square
#BC2FAB #BC862F #2FBC40 #2F64BC
split-complementary
#BC2FAB #64BC2F #2FBC86
monochromatic
#5A1752 #8B237E #BC2FAB #D454C5 #E085D5

Accessibility & contrast

On white

5.08
#BC2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BC2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2FAB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2FAB#FFFFFF#000000##FFFFFF
##BC2FAB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#6075A8
Tritanopia (blue-blind)
#C53D6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc2fab;
/* rgb */ color: rgb(188, 47, 171);
/* oklch */ color: oklch(56.8% 0.218 333.5);
Tailwind
colors: {
  custom: {
    50: '#d476c4',
    500: '#bc2fab',
    950: '#000000',
  },
}
SCSS
$custom: #bc2fab;
$custom-light: #d476c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2fab",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 307.234,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.568,
    "c": 0.21819,
    "h": 333.5
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#BC2FAB
secondary
#7DCA86
accent
#E35845
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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