#BC40E7#BC40E7

#BC40E7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.8% C 0.248 H 315.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BC40E7
RGBrgb(188, 64, 231)
HSLhsl(285, 78%, 58%)
HSVhsv(285, 72%, 91%)
CMYKcmyk(18.6%, 72.3%, 0%, 9.4%)
CIE-LABlab(51.98, 72.03, -61.38)
CIE-LCHlch(51.98, 94.64, 319.57°)
OKLaboklab(61.8% 0.1775 -0.1729)
OKLCHoklch(61.8% 0.248 315.8)
XYZxyz(36.9940, 20.1291, 77.5224)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40E7 #6BE740
analogous
#6940E7 #BC40E7 #E740BE
triadic
#BC40E7 #E7BC40 #40E7BC
tetradic
#BC40E7 #E76940 #6BE740 #40BEE7
square
#BC40E7 #E76940 #6BE740 #40BEE7
split-complementary
#BC40E7 #BEE740 #40E769
monochromatic
#771399 #A11AD0 #BC40E7 #CF76EE #E2ADF5

Accessibility & contrast

On white

4.18
#BC40E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BC40E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40E7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40E7#FFFFFF#000000##000000
##BC40E71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#B96490
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc40e7;
/* rgb */ color: rgb(188, 64, 231);
/* oklch */ color: oklch(61.8% 0.248 315.8);
Tailwind
colors: {
  custom: {
    50: '#d580ef',
    500: '#bc40e7',
    950: '#000000',
  },
}
SCSS
$custom: #bc40e7;
$custom-light: #d580ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40e7",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 231
  },
  "hsl": {
    "h": 284.551,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.24779,
    "h": 315.8
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#BC40E7
secondary
#B1E3A0
accent
#F43465
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BC40E7

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

Preview Lab → · Contrast checker → · Palette generator →

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