#BD40BF#BD40BF

#BD40BF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.215 H 327.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BD40BF
RGBrgb(189, 64, 191)
HSLhsl(299, 50%, 50%)
HSVhsv(299, 66%, 75%)
CMYKcmyk(1%, 66.5%, 0%, 25.1%)
CIE-LABlab(49.80, 65.03, -41.99)
CIE-LCHlch(49.80, 77.41, 327.15°)
OKLaboklab(59.51% 0.1804 -0.1162)
OKLCHoklch(59.51% 0.215 327.2)
XYZxyz(32.2231, 18.2494, 51.1054)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40BF #42BF40
analogous
#7D40BF #BD40BF #BF4082
triadic
#BD40BF #BFBD40 #40BFBD
tetradic
#BD40BF #BF7D40 #42BF40 #4082BF
square
#BD40BF #BF7D40 #42BF40 #4082BF
split-complementary
#BD40BF #82BF40 #40BF7D
monochromatic
#622163 #903191 #BD40BF #CD6ECE #DD9CDE

Accessibility & contrast

On white

4.52
#BD40BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BD40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40BF#FFFFFF#000000##000000
##BD40BF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#C2527A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd40bf;
/* rgb */ color: rgb(189, 64, 191);
/* oklch */ color: oklch(59.5% 0.215 327.2);
Tailwind
colors: {
  custom: {
    50: '#d47fd3',
    500: '#bd40bf',
    950: '#000000',
  },
}
SCSS
$custom: #bd40bf;
$custom-light: #d47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40bf",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 299.055,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.21462,
    "h": 327.2
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#BD40BF
secondary
#92CA91
accent
#D94E51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BD40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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