#BC40E0#BC40E0

#BC40E0 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.3% C 0.242 H 317.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BC40E0
RGBrgb(188, 64, 224)
HSLhsl(287, 72%, 56%)
HSVhsv(287, 71%, 88%)
CMYKcmyk(16.1%, 71.4%, 0%, 12.2%)
CIE-LABlab(51.54, 70.71, -58.13)
CIE-LCHlch(51.54, 91.53, 320.58°)
OKLaboklab(61.35% 0.1782 -0.1634)
OKLCHoklch(61.35% 0.242 317.5)
XYZxyz(36.0250, 19.7415, 72.4194)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40E0 #64E040
analogous
#6C40E0 #BC40E0 #E040B4
triadic
#BC40E0 #E0BC40 #40E0BC
tetradic
#BC40E0 #E06C40 #64E040 #40B4E0
square
#BC40E0 #E06C40 #64E040 #40B4E0
split-complementary
#BC40E0 #B4E040 #40E06C
monochromatic
#74178E #9E20C3 #BC40E0 #CE75E9 #E1A9F1

Accessibility & contrast

On white

4.24
#BC40E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BC40E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40E0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40E0#FFFFFF#000000##000000
##BC40E01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#457FDC
Tritanopia (blue-blind)
#BB618D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc40e0;
/* rgb */ color: rgb(188, 64, 224);
/* oklch */ color: oklch(61.3% 0.242 317.5);
Tailwind
colors: {
  custom: {
    50: '#d480ea',
    500: '#bc40e0',
    950: '#000000',
  },
}
SCSS
$custom: #bc40e0;
$custom-light: #d480ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40e0",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 224
  },
  "hsl": {
    "h": 286.5,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.24176,
    "h": 317.5
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#BC40E0
secondary
#ACDF9D
accent
#EF3962
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC40E0

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

Preview Lab → · Contrast checker → · Palette generator →

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