#BC27AC#BC27AC

#BC27AC is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.226 H 333.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BC27AC
RGBrgb(188, 39, 172)
HSLhsl(306, 66%, 45%)
HSVhsv(306, 79%, 74%)
CMYKcmyk(0%, 79.3%, 8.5%, 26.3%)
CIE-LABlab(45.80, 69.87, -37.18)
CIE-LCHlch(45.80, 79.15, 331.98°)
OKLaboklab(56.29% 0.202 -0.1022)
OKLCHoklch(56.29% 0.226 333.2)
XYZxyz(28.9112, 15.1235, 40.4182)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27AC #27BC37
analogous
#8227BC #BC27AC #BC2762
triadic
#BC27AC #ACBC27 #27ACBC
tetradic
#BC27AC #BC8227 #27BC37 #2762BC
square
#BC27AC #BC8227 #27BC37 #2762BC
split-complementary
#BC27AC #62BC27 #27BC82
monochromatic
#57124F #891C7E #BC27AC #D947C9 #E37AD8

Accessibility & contrast

On white

5.22
#BC27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BC27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27AC#FFFFFF#000000##FFFFFF
##BC27AC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#C53969
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc27ac;
/* rgb */ color: rgb(188, 39, 172);
/* oklch */ color: oklch(56.3% 0.226 333.2);
Tailwind
colors: {
  custom: {
    50: '#d474c5',
    500: '#bc27ac',
    950: '#000000',
  },
}
SCSS
$custom: #bc27ac;
$custom-light: #d474c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27ac",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 306.443,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.22636,
    "h": 333.2
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#BC27AC
secondary
#73CB7D
accent
#E9513F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BC27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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