#BC42B1#BC42B1

#BC42B1 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.200 H 331.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BC42B1
RGBrgb(188, 66, 177)
HSLhsl(305, 48%, 50%)
HSVhsv(305, 65%, 74%)
CMYKcmyk(0%, 64.9%, 5.9%, 26.3%)
CIE-LABlab(49.21, 61.70, -34.76)
CIE-LCHlch(49.21, 70.82, 330.60°)
OKLaboklab(58.83% 0.1763 -0.0954)
OKLCHoklch(58.83% 0.2 331.6)
XYZxyz(30.6230, 17.7644, 43.4024)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42B1 #42BC4D
analogous
#8A42BC #BC42B1 #BC4274
triadic
#BC42B1 #B1BC42 #42B1BC
tetradic
#BC42B1 #BC8A42 #42BC4D #4274BC
square
#BC42B1 #BC8A42 #42BC4D #4274BC
split-complementary
#BC42B1 #74BC42 #42BC8A
monochromatic
#61225C #8F3286 #BC42B1 #CC6FC4 #DC9CD6

Accessibility & contrast

On white

4.61
#BC42B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BC42B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC42B1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42B1#FFFFFF#000000##FFFFFF
##BC42B11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#C34E74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc42b1;
/* rgb */ color: rgb(188, 66, 177);
/* oklch */ color: oklch(58.8% 0.200 331.6);
Tailwind
colors: {
  custom: {
    50: '#d37fc8',
    500: '#bc42b1',
    950: '#000000',
  },
}
SCSS
$custom: #bc42b1;
$custom-light: #d37fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42b1",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 305.41,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.20041,
    "h": 331.6
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#BC42B1
secondary
#91C996
accent
#D85C50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC42B1

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

Preview Lab → · Contrast checker → · Palette generator →

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