#BC42E2#BC42E2

#BC42E2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.241 H 316.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BC42E2
RGBrgb(188, 66, 226)
HSLhsl(286, 73%, 57%)
HSVhsv(286, 71%, 89%)
CMYKcmyk(16.8%, 70.8%, 0%, 11.4%)
CIE-LABlab(51.93, 70.35, -58.64)
CIE-LCHlch(51.93, 91.58, 320.19°)
OKLaboklab(61.66% 0.1761 -0.1649)
OKLCHoklch(61.66% 0.241 316.9)
XYZxyz(36.4127, 20.0803, 73.8946)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42E2 #68E242
analogous
#6C42E2 #BC42E2 #E242B8
triadic
#BC42E2 #E2BC42 #42E2BC
tetradic
#BC42E2 #E26C42 #68E242 #42B8E2
square
#BC42E2 #E26C42 #68E242 #42B8E2
split-complementary
#BC42E2 #B8E242 #42E26C
monochromatic
#751793 #A01FC8 #BC42E2 #CF77EA #E2ACF2

Accessibility & contrast

On white

4.19
#BC42E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BC42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42E2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42E2#FFFFFF#000000##000000
##BC42E21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#447FDE
Tritanopia (blue-blind)
#BA638E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc42e2;
/* rgb */ color: rgb(188, 66, 226);
/* oklch */ color: oklch(61.7% 0.241 316.9);
Tailwind
colors: {
  custom: {
    50: '#d481ec',
    500: '#bc42e2',
    950: '#000000',
  },
}
SCSS
$custom: #bc42e2;
$custom-light: #d481ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42e2",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 285.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.24126,
    "h": 316.9
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#BC42E2
secondary
#AFE09F
accent
#F03864
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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