#BC27B8#BC27B8

#BC27B8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.235 H 329.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BC27B8
RGBrgb(188, 39, 184)
HSLhsl(302, 66%, 45%)
HSVhsv(302, 79%, 74%)
CMYKcmyk(0%, 79.3%, 2.1%, 26.3%)
CIE-LABlab(46.45, 71.68, -43.22)
CIE-LCHlch(46.45, 83.70, 328.91°)
OKLaboklab(56.97% 0.202 -0.1197)
OKLCHoklch(56.97% 0.235 329.4)
XYZxyz(30.1161, 15.6055, 46.7641)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27B8 #27BC2B
analogous
#7627BC #BC27B8 #BC276D
triadic
#BC27B8 #B8BC27 #27B8BC
tetradic
#BC27B8 #BC7627 #27BC2B #276DBC
square
#BC27B8 #BC7627 #27BC2B #276DBC
split-complementary
#BC27B8 #6DBC27 #27BC76
monochromatic
#571255 #891C86 #BC27B8 #D947D5 #E37AE1

Accessibility & contrast

On white

5.10
#BC27B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BC27B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27B8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27B8#FFFFFF#000000##FFFFFF
##BC27B81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#C33F70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc27b8;
/* rgb */ color: rgb(188, 39, 184);
/* oklch */ color: oklch(57.0% 0.235 329.4);
Tailwind
colors: {
  custom: {
    50: '#d474ce',
    500: '#bc27b8',
    950: '#000000',
  },
}
SCSS
$custom: #bc27b8;
$custom-light: #d474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27b8",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 301.611,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.23479,
    "h": 329.4
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#BC27B8
secondary
#73CB76
accent
#E9443F
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BC27B8

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

Preview Lab → · Contrast checker → · Palette generator →

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