#BC27A8#BC27A8

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

Color values

HEX#BC27A8
RGBrgb(188, 39, 168)
HSLhsl(308, 66%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 79.3%, 10.6%, 26.3%)
CIE-LABlab(45.60, 69.29, -35.13)
CIE-LCHlch(45.60, 77.69, 333.11°)
OKLaboklab(56.08% 0.2019 -0.0963)
OKLCHoklch(56.08% 0.224 334.5)
XYZxyz(28.5328, 14.9721, 38.4254)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A8 #27BC3B
analogous
#8627BC #BC27A8 #BC275D
triadic
#BC27A8 #A8BC27 #27A8BC
tetradic
#BC27A8 #BC8627 #27BC3B #275DBC
square
#BC27A8 #BC8627 #27BC3B #275DBC
split-complementary
#BC27A8 #5DBC27 #27BC86
monochromatic
#57124D #891C7B #BC27A8 #D947C5 #E37AD5

Accessibility & contrast

On white

5.26
#BC27A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BC27A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A8#FFFFFF#000000##FFFFFF
##BC27A81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#5E74A5
Tritanopia (blue-blind)
#C53667
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc27a8;
/* rgb */ color: rgb(188, 39, 168);
/* oklch */ color: oklch(56.1% 0.224 334.5);
Tailwind
colors: {
  custom: {
    50: '#d473c2',
    500: '#bc27a8',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a8;
$custom-light: #d473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a8",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 308.054,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.22363,
    "h": 334.5
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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