#BC42C4#BC42C4

#BC42C4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.216 H 325.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BC42C4
RGBrgb(188, 66, 196)
HSLhsl(296, 52%, 51%)
HSVhsv(296, 66%, 77%)
CMYKcmyk(4.1%, 66.3%, 0%, 23.1%)
CIE-LABlab(50.19, 64.89, -44.27)
CIE-LCHlch(50.19, 78.55, 325.69°)
OKLaboklab(59.85% 0.1773 -0.1229)
OKLCHoklch(59.85% 0.216 325.3)
XYZxyz(32.6503, 18.5753, 54.0795)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42C4 #4AC442
analogous
#7B42C4 #BC42C4 #C4428B
triadic
#BC42C4 #C4BC42 #42C4BC
tetradic
#BC42C4 #C47B42 #4AC442 #428BC4
square
#BC42C4 #C47B42 #4AC442 #428BC4
split-complementary
#BC42C4 #8BC442 #42C47B
monochromatic
#66216A #933099 #BC42C4 #CD71D3 #DD9FE1

Accessibility & contrast

On white

4.45
#BC42C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BC42C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42C4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42C4#FFFFFF#000000##000000
##BC42C41.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#C0567E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc42c4;
/* rgb */ color: rgb(188, 66, 196);
/* oklch */ color: oklch(59.9% 0.216 325.3);
Tailwind
colors: {
  custom: {
    50: '#d480d6',
    500: '#bc42c4',
    950: '#000000',
  },
}
SCSS
$custom: #bc42c4;
$custom-light: #d480d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42c4",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 296.308,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.21572,
    "h": 325.3
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#BC42C4
secondary
#98CE94
accent
#DC4C55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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