#BC40C2#BC40C2

#BC40C2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.217 H 325.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BC40C2
RGBrgb(188, 64, 194)
HSLhsl(297, 52%, 51%)
HSVhsv(297, 67%, 76%)
CMYKcmyk(3.1%, 67%, 0%, 23.9%)
CIE-LABlab(49.80, 65.31, -43.72)
CIE-LCHlch(49.80, 78.60, 326.20°)
OKLaboklab(59.54% 0.1794 -0.1213)
OKLCHoklch(59.54% 0.217 325.9)
XYZxyz(32.3094, 18.2553, 52.8503)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40C2 #46C240
analogous
#7B40C2 #BC40C2 #C24087
triadic
#BC40C2 #C2BC40 #40C2BC
tetradic
#BC40C2 #C27B40 #46C240 #4087C2
square
#BC40C2 #C27B40 #46C240 #4087C2
split-complementary
#BC40C2 #87C240 #40C27B
monochromatic
#642167 #903095 #BC40C2 #CC6ED1 #DD9DE0

Accessibility & contrast

On white

4.52
#BC40C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BC40C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40C2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40C2#FFFFFF#000000##000000
##BC40C21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#276CC6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#C1547C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc40c2;
/* rgb */ color: rgb(188, 64, 194);
/* oklch */ color: oklch(59.5% 0.217 325.9);
Tailwind
colors: {
  custom: {
    50: '#d47fd5',
    500: '#bc40c2',
    950: '#000000',
  },
}
SCSS
$custom: #bc40c2;
$custom-light: #d47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40c2",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 297.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.21655,
    "h": 325.9
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#BC40C2
secondary
#95CC92
accent
#DB4D53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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