#BC42D8#BC42D8

#BC42D8 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.233 H 319.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BC42D8
RGBrgb(188, 66, 216)
HSLhsl(289, 66%, 55%)
HSVhsv(289, 69%, 85%)
CMYKcmyk(13%, 69.4%, 0%, 15.3%)
CIE-LABlab(51.32, 68.48, -53.94)
CIE-LCHlch(51.32, 87.17, 321.77°)
OKLaboklab(61.03% 0.1769 -0.1511)
OKLCHoklch(61.03% 0.233 319.5)
XYZxyz(35.0803, 19.5474, 66.8776)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42D8 #5ED842
analogous
#7142D8 #BC42D8 #D842A9
triadic
#BC42D8 #D8BC42 #42D8BC
tetradic
#BC42D8 #D87142 #5ED842 #42A9D8
square
#BC42D8 #D87142 #5ED842 #42A9D8
split-complementary
#BC42D8 #A9D842 #42D871
monochromatic
#711B84 #9C26B7 #BC42D8 #CE75E2 #E0A7ED

Accessibility & contrast

On white

4.28
#BC42D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BC42D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42D8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42D8#FFFFFF#000000##000000
##BC42D81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#4D7ED4
Tritanopia (blue-blind)
#BC5E89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bc42d8;
/* rgb */ color: rgb(188, 66, 216);
/* oklch */ color: oklch(61.0% 0.233 319.5);
Tailwind
colors: {
  custom: {
    50: '#d481e5',
    500: '#bc42d8',
    950: '#000000',
  },
}
SCSS
$custom: #bc42d8;
$custom-light: #d481e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42d8",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 288.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61031,
    "c": 0.23262,
    "h": 319.5
  },
  "luminance": 0.19546
}

Semantic roles & 50–950 ramp

primary
#BC42D8
secondary
#A7DA9C
accent
#E93F5F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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