#BD51D6#BD51D6

#BD51D6 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.6% C 0.212 H 319.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BD51D6
RGBrgb(189, 81, 214)
HSLhsl(289, 62%, 58%)
HSVhsv(289, 62%, 84%)
CMYKcmyk(11.7%, 62.1%, 0%, 16.1%)
CIE-LABlab(53.56, 62.16, -49.22)
CIE-LCHlch(53.56, 79.29, 321.63°)
OKLaboklab(62.63% 0.1617 -0.1374)
OKLCHoklch(62.63% 0.212 319.6)
XYZxyz(36.0648, 21.5604, 65.8672)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51D6 #6AD651
analogous
#7B51D6 #BD51D6 #D651AC
triadic
#BD51D6 #D6BD51 #51D6BD
tetradic
#BD51D6 #D67B51 #6AD651 #51ACD6
square
#BD51D6 #D67B51 #6AD651 #51ACD6
split-complementary
#BD51D6 #ACD651 #51D67B
monochromatic
#78218C #A22DBD #BD51D6 #D083E2 #E3B4ED

Accessibility & contrast

On white

3.95
#BD51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BD51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51D6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51D6#FFFFFF#000000##000000
##BD51D61.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DA
Deuteranopia (green-blind)
#5B84D3
Tritanopia (blue-blind)
#BE678C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bd51d6;
/* rgb */ color: rgb(189, 81, 214);
/* oklch */ color: oklch(62.6% 0.212 319.6);
Tailwind
colors: {
  custom: {
    50: '#d488e3',
    500: '#bd51d6',
    950: '#000000',
  },
}
SCSS
$custom: #bd51d6;
$custom-light: #d488e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51d6",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 288.722,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.2122,
    "h": 319.6
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#BD51D6
secondary
#B1DCA7
accent
#E54361
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #BD51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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