#BD51AC#BD51AC

#BD51AC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.176 H 334.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BD51AC
RGBrgb(189, 81, 172)
HSLhsl(309, 45%, 53%)
HSVhsv(309, 57%, 74%)
CMYKcmyk(0%, 57.1%, 9%, 25.9%)
CIE-LABlab(51.48, 54.70, -28.28)
CIE-LCHlch(51.48, 61.58, 332.66°)
OKLaboklab(60.44% 0.158 -0.0769)
OKLCHoklch(60.44% 0.176 334)
XYZxyz(31.3752, 19.6845, 41.1687)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51AC #51BD62
analogous
#9851BD #BD51AC #BD5176
triadic
#BD51AC #ACBD51 #51ACBD
tetradic
#BD51AC #BD9851 #51BD62 #5176BD
square
#BD51AC #BD9851 #51BD62 #5176BD
split-complementary
#BD51AC #76BD51 #51BD98
monochromatic
#6B2961 #973989 #BD51AC #CE7DC1 #DFAAD6

Accessibility & contrast

On white

4.25
#BD51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BD51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51AC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51AC#FFFFFF#000000##000000
##BD51AC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#7180A9
Tritanopia (blue-blind)
#C55877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd51ac;
/* rgb */ color: rgb(189, 81, 172);
/* oklch */ color: oklch(60.4% 0.176 334.0);
Tailwind
colors: {
  custom: {
    50: '#d387c5',
    500: '#bd51ac',
    950: '#000000',
  },
}
SCSS
$custom: #bd51ac;
$custom-light: #d387c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51ac",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 309.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.1757,
    "h": 334
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#BD51AC
secondary
#9ECCA5
accent
#D56853
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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