#BC42E6#BC42E6

#BC42E6 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.245 H 315.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BC42E6
RGBrgb(188, 66, 230)
HSLhsl(285, 77%, 58%)
HSVhsv(285, 71%, 90%)
CMYKcmyk(18.3%, 71.3%, 0%, 9.8%)
CIE-LABlab(52.18, 71.11, -60.50)
CIE-LCHlch(52.18, 93.36, 319.61°)
OKLaboklab(61.92% 0.1758 -0.1703)
OKLCHoklch(61.92% 0.245 315.9)
XYZxyz(36.9679, 20.3024, 76.8190)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42E6 #6CE642
analogous
#6A42E6 #BC42E6 #E642BE
triadic
#BC42E6 #E6BC42 #42E6BC
tetradic
#BC42E6 #E66A42 #6CE642 #42BEE6
square
#BC42E6 #E66A42 #6CE642 #42BEE6
split-complementary
#BC42E6 #BEE642 #42E66A
monochromatic
#771499 #A11BCF #BC42E6 #CF78ED #E2AEF4

Accessibility & contrast

On white

4.15
#BC42E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BC42E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC42E6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42E6#FFFFFF#000000##000000
##BC42E61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#4080E2
Tritanopia (blue-blind)
#B96490
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc42e6;
/* rgb */ color: rgb(188, 66, 230);
/* oklch */ color: oklch(61.9% 0.245 315.9);
Tailwind
colors: {
  custom: {
    50: '#d581ef',
    500: '#bc42e6',
    950: '#000000',
  },
}
SCSS
$custom: #bc42e6;
$custom-light: #d581ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42e6",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 230
  },
  "hsl": {
    "h": 284.634,
    "s": 76.636,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.24475,
    "h": 315.9
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#BC42E6
secondary
#B2E3A1
accent
#F33565
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC42E6

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

Preview Lab → · Contrast checker → · Palette generator →

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