#BC27AD#BC27AD

#BC27AD is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.227 H 332.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BC27AD
RGBrgb(188, 39, 173)
HSLhsl(306, 66%, 45%)
HSVhsv(306, 79%, 74%)
CMYKcmyk(0%, 79.3%, 8%, 26.3%)
CIE-LABlab(45.86, 70.02, -37.69)
CIE-LCHlch(45.86, 79.52, 331.71°)
OKLaboklab(56.35% 0.202 -0.1036)
OKLCHoklch(56.35% 0.227 332.8)
XYZxyz(29.0076, 15.1621, 40.9259)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27AD #27BC36
analogous
#8027BC #BC27AD #BC2763
triadic
#BC27AD #ADBC27 #27ADBC
tetradic
#BC27AD #BC8027 #27BC36 #2763BC
square
#BC27AD #BC8027 #27BC36 #2763BC
split-complementary
#BC27AD #63BC27 #27BC80
monochromatic
#571250 #891C7E #BC27AD #D947CA #E37AD9

Accessibility & contrast

On white

5.21
#BC27AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BC27AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27AD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27AD#FFFFFF#000000##FFFFFF
##BC27AD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#C4396A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc27ad;
/* rgb */ color: rgb(188, 39, 173);
/* oklch */ color: oklch(56.3% 0.227 332.8);
Tailwind
colors: {
  custom: {
    50: '#d474c6',
    500: '#bc27ad',
    950: '#000000',
  },
}
SCSS
$custom: #bc27ad;
$custom-light: #d474c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27ad",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 306.04,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.22705,
    "h": 332.8
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#BC27AD
secondary
#73CB7C
accent
#E9503F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BC27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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