#BD51AF#BD51AF

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

Color values

HEX#BD51AF
RGBrgb(189, 81, 175)
HSLhsl(308, 45%, 53%)
HSVhsv(308, 57%, 74%)
CMYKcmyk(0%, 57.1%, 7.4%, 25.9%)
CIE-LABlab(51.61, 55.19, -29.82)
CIE-LCHlch(51.61, 62.74, 331.62°)
OKLaboklab(60.58% 0.1584 -0.0814)
OKLCHoklch(60.58% 0.178 332.8)
XYZxyz(31.6666, 19.8011, 42.7032)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51AF #51BD5F
analogous
#9551BD #BD51AF #BD5179
triadic
#BD51AF #AFBD51 #51AFBD
tetradic
#BD51AF #BD9551 #51BD5F #5179BD
square
#BD51AF #BD9551 #51BD5F #5179BD
split-complementary
#BD51AF #79BD51 #51BD95
monochromatic
#6B2962 #97398B #BD51AF #CE7DC3 #DFAAD8

Accessibility & contrast

On white

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

On black

4.96
#BD51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51AF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51AF#FFFFFF#000000##000000
##BD51AF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#6F81AC
Tritanopia (blue-blind)
#C55979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd51af;
/* rgb */ color: rgb(189, 81, 175);
/* oklch */ color: oklch(60.6% 0.178 332.8);
Tailwind
colors: {
  custom: {
    50: '#d387c7',
    500: '#bd51af',
    950: '#000000',
  },
}
SCSS
$custom: #bd51af;
$custom-light: #d387c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51af",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 307.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.17811,
    "h": 332.8
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#BD51AF
secondary
#9ECCA4
accent
#D56453
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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