#BC42E1#BC42E1

#BC42E1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.240 H 317.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BC42E1
RGBrgb(188, 66, 225)
HSLhsl(286, 73%, 57%)
HSVhsv(286, 71%, 88%)
CMYKcmyk(16.4%, 70.7%, 0%, 11.8%)
CIE-LABlab(51.87, 70.16, -58.17)
CIE-LCHlch(51.87, 91.14, 320.34°)
OKLaboklab(61.59% 0.1762 -0.1635)
OKLCHoklch(61.59% 0.24 317.1)
XYZxyz(36.2759, 20.0256, 73.1740)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42E1 #67E142
analogous
#6D42E1 #BC42E1 #E142B6
triadic
#BC42E1 #E1BC42 #42E1BC
tetradic
#BC42E1 #E16D42 #67E142 #42B6E1
square
#BC42E1 #E16D42 #67E142 #42B6E1
split-complementary
#BC42E1 #B6E142 #42E16D
monochromatic
#751792 #9F1FC6 #BC42E1 #CF77E9 #E1ACF2

Accessibility & contrast

On white

4.20
#BC42E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BC42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42E1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42E1#FFFFFF#000000##000000
##BC42E11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#BA628E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc42e1;
/* rgb */ color: rgb(188, 66, 225);
/* oklch */ color: oklch(61.6% 0.240 317.1);
Tailwind
colors: {
  custom: {
    50: '#d481eb',
    500: '#bc42e1',
    950: '#000000',
  },
}
SCSS
$custom: #bc42e1;
$custom-light: #d481eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42e1",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 286.038,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.24039,
    "h": 317.1
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#BC42E1
secondary
#AEE09F
accent
#EF3863
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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