#BD40AE#BD40AE

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

Color values

HEX#BD40AE
RGBrgb(189, 64, 174)
HSLhsl(307, 49%, 50%)
HSVhsv(307, 66%, 74%)
CMYKcmyk(0%, 66.1%, 7.9%, 25.9%)
CIE-LABlab(48.94, 62.26, -33.42)
CIE-LCHlch(48.94, 70.66, 331.78°)
OKLaboklab(58.61% 0.1793 -0.0915)
OKLCHoklch(58.61% 0.201 333)
XYZxyz(30.4597, 17.5440, 41.8183)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40AE #40BD4F
analogous
#8E40BD #BD40AE #BD4070
triadic
#BD40AE #AEBD40 #40AEBD
tetradic
#BD40AE #BD8E40 #40BD4F #4070BD
square
#BD40AE #BD8E40 #40BD4F #4070BD
split-complementary
#BD40AE #70BD40 #40BD8E
monochromatic
#62215A #8F3184 #BD40AE #CD6DC2 #DD9AD5

Accessibility & contrast

On white

4.66
#BD40AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BD40AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BD40AE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40AE#FFFFFF#000000##FFFFFF
##BD40AE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#C54B71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bd40ae;
/* rgb */ color: rgb(189, 64, 174);
/* oklch */ color: oklch(58.6% 0.201 333.0);
Tailwind
colors: {
  custom: {
    50: '#d47ec6',
    500: '#bd40ae',
    950: '#000000',
  },
}
SCSS
$custom: #bd40ae;
$custom-light: #d47ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40ae",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 307.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.2013,
    "h": 333
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#BD40AE
secondary
#90C997
accent
#D95F4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BD40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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