#BC40AF#BC40AF

#BC40AF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.201 H 332.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BC40AF
RGBrgb(188, 64, 175)
HSLhsl(306, 49%, 49%)
HSVhsv(306, 66%, 74%)
CMYKcmyk(0%, 66%, 6.9%, 26.3%)
CIE-LABlab(48.83, 62.17, -34.19)
CIE-LCHlch(48.83, 70.95, 331.19°)
OKLaboklab(58.52% 0.1784 -0.0937)
OKLCHoklch(58.52% 0.201 332.3)
XYZxyz(30.3103, 17.4557, 42.3220)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40AF #40BC4D
analogous
#8B40BC #BC40AF #BC4071
triadic
#BC40AF #AFBC40 #40AFBC
tetradic
#BC40AF #BC8B40 #40BC4D #4071BC
square
#BC40AF #BC8B40 #40BC4D #4071BC
split-complementary
#BC40AF #71BC40 #40BC8B
monochromatic
#61215A #8E3085 #BC40AF #CD6CC3 #DD9AD6

Accessibility & contrast

On white

4.68
#BC40AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BC40AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40AF#FFFFFF#000000##FFFFFF
##BC40AF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#C44C72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc40af;
/* rgb */ color: rgb(188, 64, 175);
/* oklch */ color: oklch(58.5% 0.201 332.3);
Tailwind
colors: {
  custom: {
    50: '#d37ec7',
    500: '#bc40af',
    950: '#000000',
  },
}
SCSS
$custom: #bc40af;
$custom-light: #d37ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40af",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 306.29,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.20147,
    "h": 332.3
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#BC40AF
secondary
#8FC995
accent
#D95D4F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BC40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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