#BC27A6#BC27A6

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

Color values

HEX#BC27A6
RGBrgb(188, 39, 166)
HSLhsl(309, 66%, 45%)
HSVhsv(309, 79%, 74%)
CMYKcmyk(0%, 79.3%, 11.7%, 26.3%)
CIE-LABlab(45.49, 69.00, -34.11)
CIE-LCHlch(45.49, 76.97, 333.70°)
OKLaboklab(55.97% 0.2018 -0.0933)
OKLCHoklch(55.97% 0.222 335.2)
XYZxyz(28.3479, 14.8982, 37.4517)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A6 #27BC3D
analogous
#8827BC #BC27A6 #BC275C
triadic
#BC27A6 #A6BC27 #27A6BC
tetradic
#BC27A6 #BC8827 #27BC3D #275CBC
square
#BC27A6 #BC8827 #27BC3D #275CBC
split-complementary
#BC27A6 #5CBC27 #27BC88
monochromatic
#57124C #891C79 #BC27A6 #D947C3 #E37AD4

Accessibility & contrast

On white

5.28
#BC27A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BC27A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A6#FFFFFF#000000##FFFFFF
##BC27A61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#C63566
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc27a6;
/* rgb */ color: rgb(188, 39, 166);
/* oklch */ color: oklch(56.0% 0.222 335.2);
Tailwind
colors: {
  custom: {
    50: '#d473c1',
    500: '#bc27a6',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a6;
$custom-light: #d473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a6",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 308.859,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.22228,
    "h": 335.2
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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