#BD51DD#BD51DD

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

Color values

HEX#BD51DD
RGBrgb(189, 81, 221)
HSLhsl(286, 67%, 59%)
HSVhsv(286, 63%, 87%)
CMYKcmyk(14.5%, 63.3%, 0%, 13.3%)
CIE-LABlab(53.95, 63.51, -52.57)
CIE-LCHlch(53.95, 82.44, 320.38°)
OKLaboklab(63.04% 0.1617 -0.1472)
OKLCHoklch(63.04% 0.219 317.7)
XYZxyz(36.9780, 21.9256, 70.6768)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51DD #71DD51
analogous
#7751DD #BD51DD #DD51B7
triadic
#BD51DD #DDBD51 #51DDBD
tetradic
#BD51DD #DD7751 #71DD51 #51B7DD
square
#BD51DD #DD7751 #71DD51 #51B7DD
split-complementary
#BD51DD #B7DD51 #51DD77
monochromatic
#7B1D96 #A427C9 #BD51DD #D084E7 #E4B7F1

Accessibility & contrast

On white

3.90
#BD51DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BD51DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51DD#FFFFFF#000000##000000
##BD51DD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE1
Deuteranopia (green-blind)
#5684DA
Tritanopia (blue-blind)
#BC6A90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bd51dd;
/* rgb */ color: rgb(189, 81, 221);
/* oklch */ color: oklch(63.0% 0.219 317.7);
Tailwind
colors: {
  custom: {
    50: '#d489e8',
    500: '#bd51dd',
    950: '#000000',
  },
}
SCSS
$custom: #bd51dd;
$custom-light: #d489e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51dd",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 286.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.21866,
    "h": 317.7
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#BD51DD
secondary
#B6E0AA
accent
#EA3E65
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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