#BC2EA7#BC2EA7

#BC2EA7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 334.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BC2EA7
RGBrgb(188, 46, 167)
HSLhsl(309, 61%, 46%)
HSVhsv(309, 76%, 74%)
CMYKcmyk(0%, 75.5%, 11.2%, 26.3%)
CIE-LABlab(46.23, 67.18, -33.55)
CIE-LCHlch(46.23, 75.09, 333.47°)
OKLaboklab(56.52% 0.196 -0.0917)
OKLCHoklch(56.52% 0.216 334.9)
XYZxyz(28.6914, 15.4379, 38.0205)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2EA7 #2EBC43
analogous
#8A2EBC #BC2EA7 #BC2E60
triadic
#BC2EA7 #A7BC2E #2EA7BC
tetradic
#BC2EA7 #BC8A2E #2EBC43 #2E60BC
square
#BC2EA7 #BC8A2E #2EBC43 #2E60BC
split-complementary
#BC2EA7 #60BC2E #2EBC8A
monochromatic
#5A1650 #8B227B #BC2EA7 #D552C1 #E184D3

Accessibility & contrast

On white

5.14
#BC2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BC2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2EA7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2EA7#FFFFFF#000000##FFFFFF
##BC2EA71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C53B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc2ea7;
/* rgb */ color: rgb(188, 46, 167);
/* oklch */ color: oklch(56.5% 0.216 334.9);
Tailwind
colors: {
  custom: {
    50: '#d476c1',
    500: '#bc2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bc2ea7;
$custom-light: #d476c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2ea7",
  "rgb": {
    "r": 188,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 308.873,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.2164,
    "h": 334.9
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#BC2EA7
secondary
#7CCA87
accent
#E45C44
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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