#BC42D7#BC42D7

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

Color values

HEX#BC42D7
RGBrgb(188, 66, 215)
HSLhsl(289, 65%, 55%)
HSVhsv(289, 69%, 84%)
CMYKcmyk(12.6%, 69.3%, 0%, 15.7%)
CIE-LABlab(51.26, 68.29, -53.46)
CIE-LCHlch(51.26, 86.73, 321.95°)
OKLaboklab(60.97% 0.1769 -0.1497)
OKLCHoklch(60.97% 0.232 319.8)
XYZxyz(34.9515, 19.4958, 66.1988)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42D7 #5DD742
analogous
#7242D7 #BC42D7 #D742A7
triadic
#BC42D7 #D7BC42 #42D7BC
tetradic
#BC42D7 #D77242 #5DD742 #42A7D7
square
#BC42D7 #D77242 #5DD742 #42A7D7
split-complementary
#BC42D7 #A7D742 #42D772
monochromatic
#701C83 #9B26B5 #BC42D7 #CE75E2 #E0A7EC

Accessibility & contrast

On white

4.29
#BC42D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BC42D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42D7#FFFFFF#000000##000000
##BC42D71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#BC5E88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bc42d7;
/* rgb */ color: rgb(188, 66, 215);
/* oklch */ color: oklch(61.0% 0.232 319.8);
Tailwind
colors: {
  custom: {
    50: '#d481e4',
    500: '#bc42d7',
    950: '#000000',
  },
}
SCSS
$custom: #bc42d7;
$custom-light: #d481e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42d7",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 289.128,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.23176,
    "h": 319.8
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#BC42D7
secondary
#A6DA9B
accent
#E8405E
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC42D7

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

Preview Lab → · Contrast checker → · Palette generator →

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