#BC42D4#BC42D4

#BC42D4 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.229 H 320.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BC42D4
RGBrgb(188, 66, 212)
HSLhsl(290, 63%, 55%)
HSVhsv(290, 69%, 83%)
CMYKcmyk(11.3%, 68.9%, 0%, 16.9%)
CIE-LABlab(51.09, 67.74, -52.03)
CIE-LCHlch(51.09, 85.42, 322.47°)
OKLaboklab(60.79% 0.1771 -0.1455)
OKLCHoklch(60.79% 0.229 320.6)
XYZxyz(34.5695, 19.3430, 64.1873)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42D4 #5AD442
analogous
#7342D4 #BC42D4 #D442A3
triadic
#BC42D4 #D4BC42 #42D4BC
tetradic
#BC42D4 #D47342 #5AD442 #42A3D4
square
#BC42D4 #D47342 #5AD442 #42A3D4
split-complementary
#BC42D4 #A3D442 #42D473
monochromatic
#6F1D7F #9A28B1 #BC42D4 #CE74DF #DFA6EB

Accessibility & contrast

On white

4.31
#BC42D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BC42D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42D4#FFFFFF#000000##000000
##BC42D41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#517ED1
Tritanopia (blue-blind)
#BD5D86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bc42d4;
/* rgb */ color: rgb(188, 66, 212);
/* oklch */ color: oklch(60.8% 0.229 320.6);
Tailwind
colors: {
  custom: {
    50: '#d480e2',
    500: '#bc42d4',
    950: '#000000',
  },
}
SCSS
$custom: #bc42d4;
$custom-light: #d480e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42d4",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 290.137,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.22919,
    "h": 320.6
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#BC42D4
secondary
#A4D89A
accent
#E6425D
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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