#BD40BB#BD40BB

#BD40BB is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.211 H 328.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BD40BB
RGBrgb(189, 64, 187)
HSLhsl(301, 49%, 50%)
HSVhsv(301, 66%, 74%)
CMYKcmyk(0%, 66.1%, 1.1%, 25.9%)
CIE-LABlab(49.59, 64.36, -39.99)
CIE-LCHlch(49.59, 75.78, 328.14°)
OKLaboklab(59.29% 0.1803 -0.1105)
OKLCHoklch(59.29% 0.211 328.5)
XYZxyz(31.7889, 18.0757, 48.8187)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40BB #40BD42
analogous
#8140BD #BD40BB #BD407D
triadic
#BD40BB #BBBD40 #40BBBD
tetradic
#BD40BB #BD8140 #40BD42 #407DBD
square
#BD40BB #BD8140 #40BD42 #407DBD
split-complementary
#BD40BB #7DBD40 #40BD81
monochromatic
#622161 #8F318E #BD40BB #CD6DCC #DD9ADC

Accessibility & contrast

On white

4.55
#BD40BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BD40BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40BB#FFFFFF#000000##000000
##BD40BB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#306BBF
Deuteranopia (green-blind)
#607CB8
Tritanopia (blue-blind)
#C35078
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd40bb;
/* rgb */ color: rgb(189, 64, 187);
/* oklch */ color: oklch(59.3% 0.211 328.5);
Tailwind
colors: {
  custom: {
    50: '#d47fd0',
    500: '#bd40bb',
    950: '#000000',
  },
}
SCSS
$custom: #bd40bb;
$custom-light: #d47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40bb",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 300.96,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.21141,
    "h": 328.5
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#BD40BB
secondary
#90C991
accent
#D9514F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BD40BB

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

Preview Lab → · Contrast checker → · Palette generator →

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