#BC34A8#BC34A8

#BC34A8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.211 H 334.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BC34A8
RGBrgb(188, 52, 168)
HSLhsl(309, 57%, 47%)
HSVhsv(309, 72%, 74%)
CMYKcmyk(0%, 72.3%, 10.6%, 26.3%)
CIE-LABlab(46.94, 65.43, -33.02)
CIE-LCHlch(46.94, 73.29, 333.23°)
OKLaboklab(57.05% 0.1905 -0.0903)
OKLCHoklch(57.05% 0.211 334.6)
XYZxyz(29.0352, 15.9770, 38.5929)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC34A8 #34BC48
analogous
#8C34BC #BC34A8 #BC3464
triadic
#BC34A8 #A8BC34 #34A8BC
tetradic
#BC34A8 #BC8C34 #34BC48 #3464BC
square
#BC34A8 #BC8C34 #34BC48 #3464BC
split-complementary
#BC34A8 #64BC34 #34BC8C
monochromatic
#5C1952 #8C277D #BC34A8 #D25BC0 #DF8BD3

Accessibility & contrast

On white

5.01
#BC34A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BC34A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC34A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC34A8#FFFFFF#000000##FFFFFF
##BC34A81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AB
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#C53F6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bc34a8;
/* rgb */ color: rgb(188, 52, 168);
/* oklch */ color: oklch(57.0% 0.211 334.6);
Tailwind
colors: {
  custom: {
    50: '#d478c2',
    500: '#bc34a8',
    950: '#000000',
  },
}
SCSS
$custom: #bc34a8;
$custom-light: #d478c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc34a8",
  "rgb": {
    "r": 188,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 308.824,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.21077,
    "h": 334.6
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#BC34A8
secondary
#83C98D
accent
#E05E48
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC34A8

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

Preview Lab → · Contrast checker → · Palette generator →

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