#BC40C8#BC40C8

#BC40C8 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.221 H 324.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BC40C8
RGBrgb(188, 64, 200)
HSLhsl(295, 55%, 52%)
HSVhsv(295, 68%, 78%)
CMYKcmyk(6%, 68%, 0%, 21.6%)
CIE-LABlab(50.13, 66.35, -46.67)
CIE-LCHlch(50.13, 81.12, 324.88°)
OKLaboklab(59.88% 0.1794 -0.1299)
OKLCHoklch(59.88% 0.221 324.1)
XYZxyz(32.9969, 18.5303, 56.4711)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C8 #4CC840
analogous
#7840C8 #BC40C8 #C84090
triadic
#BC40C8 #C8BC40 #40C8BC
tetradic
#BC40C8 #C87840 #4CC840 #4090C8
square
#BC40C8 #C87840 #4CC840 #4090C8
split-complementary
#BC40C8 #90C840 #40C878
monochromatic
#67206E #942D9D #BC40C8 #CD70D6 #DD9FE3

Accessibility & contrast

On white

4.46
#BC40C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BC40C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C8#FFFFFF#000000##000000
##BC40C81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#587CC5
Tritanopia (blue-blind)
#C0567F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bc40c8;
/* rgb */ color: rgb(188, 64, 200);
/* oklch */ color: oklch(59.9% 0.221 324.1);
Tailwind
colors: {
  custom: {
    50: '#d47fd9',
    500: '#bc40c8',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c8;
$custom-light: #d47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c8",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 294.706,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.22148,
    "h": 324.1
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#BC40C8
secondary
#99D094
accent
#DF4956
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC40C8

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

Preview Lab → · Contrast checker → · Palette generator →

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