#BC42C7#BC42C7

#BC42C7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.218 H 324.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BC42C7
RGBrgb(188, 66, 199)
HSLhsl(295, 54%, 52%)
HSVhsv(295, 67%, 78%)
CMYKcmyk(5.5%, 66.8%, 0%, 22%)
CIE-LABlab(50.35, 65.41, -45.74)
CIE-LCHlch(50.35, 79.82, 325.03°)
OKLaboklab(60.02% 0.1773 -0.1272)
OKLCHoklch(60.02% 0.218 324.3)
XYZxyz(32.9952, 18.7133, 55.8959)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42C7 #4DC742
analogous
#7A42C7 #BC42C7 #C7428F
triadic
#BC42C7 #C7BC42 #42C7BC
tetradic
#BC42C7 #C77A42 #4DC742 #428FC7
square
#BC42C7 #C77A42 #4DC742 #428FC7
split-complementary
#BC42C7 #8FC742 #42C77A
monochromatic
#68216E #942F9D #BC42C7 #CD71D5 #DDA0E3

Accessibility & contrast

On white

4.43
#BC42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BC42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42C7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42C7#FFFFFF#000000##000000
##BC42C71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#5A7DC4
Tritanopia (blue-blind)
#C0577F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bc42c7;
/* rgb */ color: rgb(188, 66, 199);
/* oklch */ color: oklch(60.0% 0.218 324.3);
Tailwind
colors: {
  custom: {
    50: '#d480d8',
    500: '#bc42c7',
    950: '#000000',
  },
}
SCSS
$custom: #bc42c7;
$custom-light: #d480d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42c7",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 295.038,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.21821,
    "h": 324.3
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#BC42C7
secondary
#9AD095
accent
#DE4A56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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