#BC27B7#BC27B7

#BC27B7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.234 H 329.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BC27B7
RGBrgb(188, 39, 183)
HSLhsl(302, 66%, 45%)
HSVhsv(302, 79%, 74%)
CMYKcmyk(0%, 79.3%, 2.7%, 26.3%)
CIE-LABlab(46.40, 71.52, -42.72)
CIE-LCHlch(46.40, 83.31, 329.15°)
OKLaboklab(56.91% 0.202 -0.1182)
OKLCHoklch(56.91% 0.234 329.7)
XYZxyz(30.0116, 15.5637, 46.2140)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27B7 #27BC2C
analogous
#7627BC #BC27B7 #BC276D
triadic
#BC27B7 #B7BC27 #27B7BC
tetradic
#BC27B7 #BC7627 #27BC2C #276DBC
square
#BC27B7 #BC7627 #27BC2C #276DBC
split-complementary
#BC27B7 #6DBC27 #27BC76
monochromatic
#571254 #891C86 #BC27B7 #D947D4 #E37AE0

Accessibility & contrast

On white

5.11
#BC27B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BC27B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27B7#FFFFFF#000000##FFFFFF
##BC27B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#C33F6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc27b7;
/* rgb */ color: rgb(188, 39, 183);
/* oklch */ color: oklch(56.9% 0.234 329.7);
Tailwind
colors: {
  custom: {
    50: '#d474cd',
    500: '#bc27b7',
    950: '#000000',
  },
}
SCSS
$custom: #bc27b7;
$custom-light: #d474cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27b7",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 302.013,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.23408,
    "h": 329.7
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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