#BD51DC#BD51DC

#BD51DC is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.218 H 318.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BD51DC
RGBrgb(189, 81, 220)
HSLhsl(287, 67%, 59%)
HSVhsv(287, 63%, 86%)
CMYKcmyk(14.1%, 63.2%, 0%, 13.7%)
CIE-LABlab(53.89, 63.32, -52.09)
CIE-LCHlch(53.89, 81.99, 320.55°)
OKLaboklab(62.98% 0.1617 -0.1458)
OKLCHoklch(62.98% 0.218 318)
XYZxyz(36.8452, 21.8725, 69.9773)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51DC #70DC51
analogous
#7851DC #BD51DC #DC51B5
triadic
#BD51DC #DCBD51 #51DCBD
tetradic
#BD51DC #DC7851 #70DC51 #51B5DC
square
#BD51DC #DC7851 #70DC51 #51B5DC
split-complementary
#BD51DC #B5DC51 #51DC78
monochromatic
#7A1E95 #A428C8 #BD51DC #D084E6 #E4B7F0

Accessibility & contrast

On white

3.91
#BD51DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BD51DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51DC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51DC#FFFFFF#000000##000000
##BD51DC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#5784D9
Tritanopia (blue-blind)
#BC6990
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bd51dc;
/* rgb */ color: rgb(189, 81, 220);
/* oklch */ color: oklch(63.0% 0.218 318.0);
Tailwind
colors: {
  custom: {
    50: '#d489e7',
    500: '#bd51dc',
    950: '#000000',
  },
}
SCSS
$custom: #bd51dc;
$custom-light: #d489e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51dc",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 286.619,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.21773,
    "h": 318
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#BD51DC
secondary
#B5E0A9
accent
#E93E65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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