#BC27A7#BC27A7

#BC27A7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.223 H 334.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BC27A7
RGBrgb(188, 39, 167)
HSLhsl(308, 66%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 79.3%, 11.2%, 26.3%)
CIE-LABlab(45.55, 69.15, -34.62)
CIE-LCHlch(45.55, 77.33, 333.40°)
OKLaboklab(56.03% 0.2018 -0.0948)
OKLCHoklch(56.03% 0.223 334.8)
XYZxyz(28.4400, 14.9350, 37.9366)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A7 #27BC3C
analogous
#8627BC #BC27A7 #BC275D
triadic
#BC27A7 #A7BC27 #27A7BC
tetradic
#BC27A7 #BC8627 #27BC3C #275DBC
square
#BC27A7 #BC8627 #27BC3C #275DBC
split-complementary
#BC27A7 #5DBC27 #27BC86
monochromatic
#57124D #891C7A #BC27A7 #D947C4 #E37AD5

Accessibility & contrast

On white

5.27
#BC27A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BC27A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A7#FFFFFF#000000##FFFFFF
##BC27A71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#C53666
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc27a7;
/* rgb */ color: rgb(188, 39, 167);
/* oklch */ color: oklch(56.0% 0.223 334.8);
Tailwind
colors: {
  custom: {
    50: '#d473c1',
    500: '#bc27a7',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a7;
$custom-light: #d473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a7",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 308.456,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56025,
    "c": 0.22295,
    "h": 334.8
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#BC27A7
secondary
#73CB80
accent
#E9573F
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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