#BC42EB#BC42EB

#BC42EB is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.249 H 314.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BC42EB
RGBrgb(188, 66, 235)
HSLhsl(283, 81%, 59%)
HSVhsv(283, 72%, 92%)
CMYKcmyk(20%, 71.9%, 0%, 7.8%)
CIE-LABlab(52.49, 72.07, -62.80)
CIE-LCHlch(52.49, 95.59, 318.93°)
OKLaboklab(62.24% 0.1752 -0.1771)
OKLCHoklch(62.24% 0.249 314.7)
XYZxyz(37.6802, 20.5873, 80.5700)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42EB #71EB42
analogous
#6842EB #BC42EB #EB42C5
triadic
#BC42EB #EBBC42 #42EBBC
tetradic
#BC42EB #EB6842 #71EB42 #42C5EB
square
#BC42EB #EB6842 #71EB42 #42C5EB
split-complementary
#BC42EB #C5EB42 #42EB68
monochromatic
#7911A2 #A317D9 #BC42EB #D079F1 #E3B1F7

Accessibility & contrast

On white

4.10
#BC42EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BC42EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42EB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42EB#FFFFFF#000000##000000
##BC42EB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#3A80E7
Tritanopia (blue-blind)
#B86693
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bc42eb;
/* rgb */ color: rgb(188, 66, 235);
/* oklch */ color: oklch(62.2% 0.249 314.7);
Tailwind
colors: {
  custom: {
    50: '#d581f2',
    500: '#bc42eb',
    950: '#000000',
  },
}
SCSS
$custom: #bc42eb;
$custom-light: #d581f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42eb",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 235
  },
  "hsl": {
    "h": 283.314,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.24911,
    "h": 314.7
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#BC42EB
secondary
#B6E6A3
accent
#F73168
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BC42EB

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

Preview Lab → · Contrast checker → · Palette generator →

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