#BC27A9#BC27A9

#BC27A9 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.224 H 334.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BC27A9
RGBrgb(188, 39, 169)
HSLhsl(308, 66%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 79.3%, 10.1%, 26.3%)
CIE-LABlab(45.65, 69.43, -35.65)
CIE-LCHlch(45.65, 78.05, 332.82°)
OKLaboklab(56.13% 0.2019 -0.0977)
OKLCHoklch(56.13% 0.224 334.2)
XYZxyz(28.6263, 15.0096, 38.9179)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A9 #27BC3A
analogous
#8527BC #BC27A9 #BC275F
triadic
#BC27A9 #A9BC27 #27A9BC
tetradic
#BC27A9 #BC8527 #27BC3A #275FBC
square
#BC27A9 #BC8527 #27BC3A #275FBC
split-complementary
#BC27A9 #5FBC27 #27BC85
monochromatic
#57124E #891C7B #BC27A9 #D947C6 #E37AD6

Accessibility & contrast

On white

5.25
#BC27A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BC27A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A9#FFFFFF#000000##FFFFFF
##BC27A91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#C53767
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc27a9;
/* rgb */ color: rgb(188, 39, 169);
/* oklch */ color: oklch(56.1% 0.224 334.2);
Tailwind
colors: {
  custom: {
    50: '#d473c3',
    500: '#bc27a9',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a9;
$custom-light: #d473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a9",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 307.651,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.22431,
    "h": 334.2
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#BC27A9
secondary
#73CB7F
accent
#E9553F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BC27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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