#BD51BB#BD51BB

#BD51BB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.188 H 328.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BD51BB
RGBrgb(189, 81, 187)
HSLhsl(301, 45%, 53%)
HSVhsv(301, 57%, 74%)
CMYKcmyk(0%, 57.1%, 1.1%, 25.9%)
CIE-LABlab(52.17, 57.23, -35.93)
CIE-LCHlch(52.17, 67.58, 327.88°)
OKLaboklab(61.17% 0.16 -0.0989)
OKLCHoklch(61.17% 0.188 328.3)
XYZxyz(32.8979, 20.2936, 49.1884)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51BB #51BD53
analogous
#8951BD #BD51BB #BD5185
triadic
#BD51BB #BBBD51 #51BBBD
tetradic
#BD51BB #BD8951 #51BD53 #5185BD
square
#BD51BB #BD8951 #51BD53 #5185BD
split-complementary
#BD51BB #85BD51 #51BD89
monochromatic
#6B296A #973996 #BD51BB #CE7DCC #DFAADE

Accessibility & contrast

On white

4.15
#BD51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BD51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51BB#FFFFFF#000000##000000
##BD51BB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#C35D7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd51bb;
/* rgb */ color: rgb(189, 81, 187);
/* oklch */ color: oklch(61.2% 0.188 328.3);
Tailwind
colors: {
  custom: {
    50: '#d488d0',
    500: '#bd51bb',
    950: '#000000',
  },
}
SCSS
$custom: #bd51bb;
$custom-light: #d488d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51bb",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 301.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.18811,
    "h": 328.3
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#BD51BB
secondary
#9ECC9E
accent
#D55653
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BD51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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