#BC27A4#BC27A4

#BC27A4 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.221 H 335.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BC27A4
RGBrgb(188, 39, 164)
HSLhsl(310, 66%, 45%)
HSVhsv(310, 79%, 74%)
CMYKcmyk(0%, 79.3%, 12.8%, 26.3%)
CIE-LABlab(45.39, 68.72, -33.07)
CIE-LCHlch(45.39, 76.26, 334.30°)
OKLaboklab(55.87% 0.2016 -0.0903)
OKLCHoklch(55.87% 0.221 335.9)
XYZxyz(28.1659, 14.8254, 36.4930)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A4 #27BC3F
analogous
#8927BC #BC27A4 #BC275A
triadic
#BC27A4 #A4BC27 #27A4BC
tetradic
#BC27A4 #BC8927 #27BC3F #275ABC
square
#BC27A4 #BC8927 #27BC3F #275ABC
split-complementary
#BC27A4 #5ABC27 #27BC89
monochromatic
#57124C #891C78 #BC27A4 #D947C1 #E37AD2

Accessibility & contrast

On white

5.30
#BC27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BC27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A4#FFFFFF#000000##FFFFFF
##BC27A41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#C63465
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bc27a4;
/* rgb */ color: rgb(188, 39, 164);
/* oklch */ color: oklch(55.9% 0.221 335.9);
Tailwind
colors: {
  custom: {
    50: '#d473bf',
    500: '#bc27a4',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a4;
$custom-light: #d473bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a4",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 309.664,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.22094,
    "h": 335.9
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#BC27A4
secondary
#73CB82
accent
#E95A3F
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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