#BD40BE#BD40BE

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

Color values

HEX#BD40BE
RGBrgb(189, 64, 190)
HSLhsl(300, 50%, 50%)
HSVhsv(300, 66%, 75%)
CMYKcmyk(0.5%, 66.3%, 0%, 25.5%)
CIE-LABlab(49.74, 64.87, -41.49)
CIE-LCHlch(49.74, 77.00, 327.40°)
OKLaboklab(59.46% 0.1804 -0.1148)
OKLCHoklch(59.46% 0.214 327.5)
XYZxyz(32.1135, 18.2055, 50.5278)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40BE #41BE40
analogous
#7E40BE #BD40BE #BE4080
triadic
#BD40BE #BEBD40 #40BEBD
tetradic
#BD40BE #BE7E40 #41BE40 #4080BE
square
#BD40BE #BE7E40 #41BE40 #4080BE
split-complementary
#BD40BE #80BE40 #40BE7E
monochromatic
#622162 #8F3190 #BD40BE #CD6DCE #DD9BDD

Accessibility & contrast

On white

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

On black

4.64
#BD40BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD40BE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40BE#FFFFFF#000000##000000
##BD40BE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#C3527A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd40be;
/* rgb */ color: rgb(189, 64, 190);
/* oklch */ color: oklch(59.5% 0.214 327.5);
Tailwind
colors: {
  custom: {
    50: '#d47fd2',
    500: '#bd40be',
    950: '#000000',
  },
}
SCSS
$custom: #bd40be;
$custom-light: #d47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40be",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 299.524,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.21381,
    "h": 327.5
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#BD40BE
secondary
#91C990
accent
#D94F50
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BD40BE

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

Preview Lab → · Contrast checker → · Palette generator →

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