#BD40BD#BD40BD

#BD40BD is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.213 H 327.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BD40BD
RGBrgb(189, 64, 189)
HSLhsl(300, 49%, 50%)
HSVhsv(300, 66%, 74%)
CMYKcmyk(0%, 66.1%, 0%, 25.9%)
CIE-LABlab(49.69, 64.70, -40.99)
CIE-LCHlch(49.69, 76.59, 327.64°)
OKLaboklab(59.4% 0.1804 -0.1133)
OKLCHoklch(59.4% 0.213 327.9)
XYZxyz(32.0045, 18.1619, 49.9542)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40BD #40BD40
analogous
#7F40BD #BD40BD #BD407F
triadic
#BD40BD #BDBD40 #40BDBD
tetradic
#BD40BD #BD7F40 #40BD40 #407FBD
square
#BD40BD #BD7F40 #40BD40 #407FBD
split-complementary
#BD40BD #7FBD40 #40BD7F
monochromatic
#622162 #8F318F #BD40BD #CD6DCD #DD9ADD

Accessibility & contrast

On white

4.53
#BD40BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BD40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40BD#FFFFFF#000000##000000
##BD40BD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#C35179
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd40bd;
/* rgb */ color: rgb(189, 64, 189);
/* oklch */ color: oklch(59.4% 0.213 327.9);
Tailwind
colors: {
  custom: {
    50: '#d47fd1',
    500: '#bd40bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd40bd;
$custom-light: #d47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40bd",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.21301,
    "h": 327.9
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#BD40BD
secondary
#90C990
accent
#D94F4F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BD40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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