#BC40AA#BC40AA

#BC40AA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.198 H 334.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BC40AA
RGBrgb(188, 64, 170)
HSLhsl(309, 49%, 49%)
HSVhsv(309, 66%, 74%)
CMYKcmyk(0%, 66%, 9.6%, 26.3%)
CIE-LABlab(48.59, 61.38, -31.62)
CIE-LCHlch(48.59, 69.04, 332.74°)
OKLaboklab(58.27% 0.1778 -0.0864)
OKLCHoklch(58.27% 0.198 334.1)
XYZxyz(29.8283, 17.2629, 39.7835)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40AA #40BC52
analogous
#9040BC #BC40AA #BC406C
triadic
#BC40AA #AABC40 #40AABC
tetradic
#BC40AA #BC9040 #40BC52 #406CBC
square
#BC40AA #BC9040 #40BC52 #406CBC
split-complementary
#BC40AA #6CBC40 #40BC90
monochromatic
#612157 #8E3081 #BC40AA #CD6CBF #DD9AD3

Accessibility & contrast

On white

4.72
#BC40AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BC40AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40AA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40AA#FFFFFF#000000##FFFFFF
##BC40AA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C54A6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40aa;
/* rgb */ color: rgb(188, 64, 170);
/* oklch */ color: oklch(58.3% 0.198 334.1);
Tailwind
colors: {
  custom: {
    50: '#d37ec3',
    500: '#bc40aa',
    950: '#000000',
  },
}
SCSS
$custom: #bc40aa;
$custom-light: #d37ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40aa",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 308.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.19769,
    "h": 334.1
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#BC40AA
secondary
#8FC998
accent
#D9634F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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