#BC2DA7#BC2DA7

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

Color values

HEX#BC2DA7
RGBrgb(188, 45, 167)
HSLhsl(309, 61%, 46%)
HSVhsv(309, 76%, 74%)
CMYKcmyk(0%, 76.1%, 11.2%, 26.3%)
CIE-LABlab(46.12, 67.48, -33.71)
CIE-LCHlch(46.12, 75.43, 333.46°)
OKLaboklab(56.44% 0.1969 -0.0922)
OKLCHoklch(56.44% 0.217 334.9)
XYZxyz(28.6528, 15.3607, 38.0076)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2DA7 #2DBC42
analogous
#892DBC #BC2DA7 #BC2D60
triadic
#BC2DA7 #A7BC2D #2DA7BC
tetradic
#BC2DA7 #BC892D #2DBC42 #2D60BC
square
#BC2DA7 #BC892D #2DBC42 #2D60BC
split-complementary
#BC2DA7 #60BC2D #2DBC89
monochromatic
#59154F #8B217B #BC2DA7 #D551C2 #E182D3

Accessibility & contrast

On white

5.16
#BC2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BC2DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2DA7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2DA7#FFFFFF#000000##FFFFFF
##BC2DA71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc2da7;
/* rgb */ color: rgb(188, 45, 167);
/* oklch */ color: oklch(56.4% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#d476c1',
    500: '#bc2da7',
    950: '#000000',
  },
}
SCSS
$custom: #bc2da7;
$custom-light: #d476c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2da7",
  "rgb": {
    "r": 188,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 308.811,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.21739,
    "h": 334.9
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#BC2DA7
secondary
#7BCA86
accent
#E45B43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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