#BC40BF#BC40BF

#BC40BF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.214 H 326.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BC40BF
RGBrgb(188, 64, 191)
HSLhsl(299, 50%, 50%)
HSVhsv(299, 66%, 75%)
CMYKcmyk(1.6%, 66.5%, 0%, 25.1%)
CIE-LABlab(49.64, 64.80, -42.24)
CIE-LCHlch(49.64, 77.35, 326.90°)
OKLaboklab(59.37% 0.1793 -0.117)
OKLCHoklch(59.37% 0.214 326.9)
XYZxyz(31.9759, 18.1219, 51.0938)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40BF #43BF40
analogous
#7D40BF #BC40BF #BF4082
triadic
#BC40BF #BFBC40 #40BFBC
tetradic
#BC40BF #BF7D40 #43BF40 #4082BF
square
#BC40BF #BF7D40 #43BF40 #4082BF
split-complementary
#BC40BF #82BF40 #40BF7D
monochromatic
#622163 #8F3191 #BC40BF #CC6ECE #DC9CDE

Accessibility & contrast

On white

4.54
#BC40BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BC40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC40BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40BF#FFFFFF#000000##000000
##BC40BF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#C1527A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc40bf;
/* rgb */ color: rgb(188, 64, 191);
/* oklch */ color: oklch(59.4% 0.214 326.9);
Tailwind
colors: {
  custom: {
    50: '#d47fd3',
    500: '#bc40bf',
    950: '#000000',
  },
}
SCSS
$custom: #bc40bf;
$custom-light: #d47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40bf",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 298.583,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.21411,
    "h": 326.9
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#BC40BF
secondary
#92CA91
accent
#D94E52
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BC40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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