#BD40AC#BD40AC

#BD40AC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.200 H 333.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BD40AC
RGBrgb(189, 64, 172)
HSLhsl(308, 49%, 50%)
HSVhsv(308, 66%, 74%)
CMYKcmyk(0%, 66.1%, 9%, 25.9%)
CIE-LABlab(48.84, 61.94, -32.39)
CIE-LCHlch(48.84, 69.90, 332.39°)
OKLaboklab(58.51% 0.1791 -0.0885)
OKLCHoklch(58.51% 0.2 333.7)
XYZxyz(30.2662, 17.4666, 40.7991)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40AC #40BD51
analogous
#9040BD #BD40AC #BD406E
triadic
#BD40AC #ACBD40 #40ACBD
tetradic
#BD40AC #BD9040 #40BD51 #406EBD
square
#BD40AC #BD9040 #40BD51 #406EBD
split-complementary
#BD40AC #6EBD40 #40BD90
monochromatic
#622159 #8F3182 #BD40AC #CD6DC0 #DD9AD4

Accessibility & contrast

On white

4.67
#BD40AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD40AC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40AC#FFFFFF#000000##FFFFFF
##BD40AC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#677BA9
Tritanopia (blue-blind)
#C54A70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bd40ac;
/* rgb */ color: rgb(189, 64, 172);
/* oklch */ color: oklch(58.5% 0.200 333.7);
Tailwind
colors: {
  custom: {
    50: '#d47ec5',
    500: '#bd40ac',
    950: '#000000',
  },
}
SCSS
$custom: #bd40ac;
$custom-light: #d47ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40ac",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 308.16,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.19979,
    "h": 333.7
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#BD40AC
secondary
#90C998
accent
#D9624F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BD40AC

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

Preview Lab → · Contrast checker → · Palette generator →

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