#BC40E1#BC40E1

#BC40E1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.243 H 317.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BC40E1
RGBrgb(188, 64, 225)
HSLhsl(286, 73%, 57%)
HSVhsv(286, 72%, 88%)
CMYKcmyk(16.4%, 71.6%, 0%, 11.8%)
CIE-LABlab(51.61, 70.90, -58.59)
CIE-LCHlch(51.61, 91.98, 320.43°)
OKLaboklab(61.41% 0.1781 -0.1647)
OKLCHoklch(61.41% 0.243 317.2)
XYZxyz(36.1610, 19.7959, 73.1358)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40E1 #65E140
analogous
#6C40E1 #BC40E1 #E140B6
triadic
#BC40E1 #E1BC40 #40E1BC
tetradic
#BC40E1 #E16C40 #65E140 #40B6E1
square
#BC40E1 #E16C40 #65E140 #40B6E1
split-complementary
#BC40E1 #B6E140 #40E16C
monochromatic
#741790 #9F1FC5 #BC40E1 #CF75E9 #E1AAF2

Accessibility & contrast

On white

4.23
#BC40E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BC40E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40E1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40E1#FFFFFF#000000##000000
##BC40E11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#BA618D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc40e1;
/* rgb */ color: rgb(188, 64, 225);
/* oklch */ color: oklch(61.4% 0.243 317.2);
Tailwind
colors: {
  custom: {
    50: '#d480eb',
    500: '#bc40e1',
    950: '#000000',
  },
}
SCSS
$custom: #bc40e1;
$custom-light: #d480eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40e1",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 286.211,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.24262,
    "h": 317.2
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#BC40E1
secondary
#ADDF9D
accent
#F03862
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC40E1

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

Preview Lab → · Contrast checker → · Palette generator →

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