#BD52AC#BD52AC

#BD52AC is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.174 H 334.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BD52AC
RGBrgb(189, 82, 172)
HSLhsl(310, 45%, 53%)
HSVhsv(310, 57%, 74%)
CMYKcmyk(0%, 56.6%, 9%, 25.9%)
CIE-LABlab(51.65, 54.24, -28.01)
CIE-LCHlch(51.65, 61.05, 332.68°)
OKLaboklab(60.57% 0.1566 -0.0762)
OKLCHoklch(60.57% 0.174 334.1)
XYZxyz(31.4500, 19.8342, 41.1937)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52AC #52BD63
analogous
#9952BD #BD52AC #BD5276
triadic
#BD52AC #ACBD52 #52ACBD
tetradic
#BD52AC #BD9952 #52BD63 #5276BD
square
#BD52AC #BD9952 #52BD63 #5276BD
split-complementary
#BD52AC #76BD52 #52BD99
monochromatic
#6C2961 #983A89 #BD52AC #CE7EC1 #DFABD7

Accessibility & contrast

On white

4.23
#BD52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BD52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52AC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52AC#FFFFFF#000000##000000
##BD52AC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#C55977
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd52ac;
/* rgb */ color: rgb(189, 82, 172);
/* oklch */ color: oklch(60.6% 0.174 334.1);
Tailwind
colors: {
  custom: {
    50: '#d388c5',
    500: '#bd52ac',
    950: '#000000',
  },
}
SCSS
$custom: #bd52ac;
$custom-light: #d388c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52ac",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 309.533,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.17417,
    "h": 334.1
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#BD52AC
secondary
#9ECCA6
accent
#D46853
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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