#BC2FB7#BC2FB7

#BC2FB7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.227 H 329.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BC2FB7
RGBrgb(188, 47, 183)
HSLhsl(302, 60%, 46%)
HSVhsv(302, 75%, 74%)
CMYKcmyk(0%, 75%, 2.7%, 26.3%)
CIE-LABlab(47.16, 69.31, -41.50)
CIE-LCHlch(47.16, 80.79, 329.09°)
OKLaboklab(57.46% 0.1957 -0.1147)
OKLCHoklch(57.46% 0.227 329.6)
XYZxyz(30.3026, 16.1456, 46.3110)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2FB7 #2FBC34
analogous
#7A2FBC #BC2FB7 #BC2F70
triadic
#BC2FB7 #B7BC2F #2FB7BC
tetradic
#BC2FB7 #BC7A2F #2FBC34 #2F70BC
square
#BC2FB7 #BC7A2F #2FBC34 #2F70BC
split-complementary
#BC2FB7 #70BC2F #2FBC7A
monochromatic
#5A1758 #8B2387 #BC2FB7 #D454D0 #E085DD

Accessibility & contrast

On white

4.97
#BC2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BC2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2FB7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2FB7#FFFFFF#000000##FFFFFF
##BC2FB71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#5A76B4
Tritanopia (blue-blind)
#C34371
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bc2fb7;
/* rgb */ color: rgb(188, 47, 183);
/* oklch */ color: oklch(57.5% 0.227 329.6);
Tailwind
colors: {
  custom: {
    50: '#d477cd',
    500: '#bc2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #bc2fb7;
$custom-light: #d477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2fb7",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 302.128,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.22684,
    "h": 329.6
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#BC2FB7
secondary
#7DCA80
accent
#E34A45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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