#BD40AA#BD40AA

#BD40AA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.198 H 334.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BD40AA
RGBrgb(189, 64, 170)
HSLhsl(309, 49%, 50%)
HSVhsv(309, 66%, 74%)
CMYKcmyk(0%, 66.1%, 10.1%, 25.9%)
CIE-LABlab(48.75, 61.63, -31.36)
CIE-LCHlch(48.75, 69.15, 333.03°)
OKLaboklab(58.41% 0.1789 -0.0856)
OKLCHoklch(58.41% 0.198 334.4)
XYZxyz(30.0756, 17.3903, 39.7951)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40AA #40BD53
analogous
#9240BD #BD40AA #BD406C
triadic
#BD40AA #AABD40 #40AABD
tetradic
#BD40AA #BD9240 #40BD53 #406CBD
square
#BD40AA #BD9240 #40BD53 #406CBD
split-complementary
#BD40AA #6CBD40 #40BD92
monochromatic
#622158 #8F3181 #BD40AA #CD6DBF #DD9AD3

Accessibility & contrast

On white

4.69
#BD40AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BD40AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD40AA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40AA#FFFFFF#000000##FFFFFF
##BD40AA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C6496F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bd40aa;
/* rgb */ color: rgb(189, 64, 170);
/* oklch */ color: oklch(58.4% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#d47ec3',
    500: '#bd40aa',
    950: '#000000',
  },
}
SCSS
$custom: #bd40aa;
$custom-light: #d47ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40aa",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 309.12,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.19831,
    "h": 334.4
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#BD40AA
secondary
#90C999
accent
#D9644F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BD40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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