#BD51D8#BD51D8

#BD51D8 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.7% C 0.214 H 319.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BD51D8
RGBrgb(189, 81, 216)
HSLhsl(288, 63%, 58%)
HSVhsv(288, 63%, 85%)
CMYKcmyk(12.5%, 62.5%, 0%, 15.3%)
CIE-LABlab(53.67, 62.55, -50.18)
CIE-LCHlch(53.67, 80.19, 321.26°)
OKLaboklab(62.75% 0.1617 -0.1402)
OKLCHoklch(62.75% 0.214 319.1)
XYZxyz(36.3217, 21.6631, 67.2206)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51D8 #6CD851
analogous
#7951D8 #BD51D8 #D851AF
triadic
#BD51D8 #D8BD51 #51D8BD
tetradic
#BD51D8 #D87951 #6CD851 #51AFD8
square
#BD51D8 #D87951 #6CD851 #51AFD8
split-complementary
#BD51D8 #AFD851 #51D879
monochromatic
#78208F #A32BC1 #BD51D8 #D083E3 #E3B5EE

Accessibility & contrast

On white

3.94
#BD51D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#BD51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51D8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51D8#FFFFFF#000000##000000
##BD51D81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A79DC
Deuteranopia (green-blind)
#5A84D5
Tritanopia (blue-blind)
#BD688D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bd51d8;
/* rgb */ color: rgb(189, 81, 216);
/* oklch */ color: oklch(62.7% 0.214 319.1);
Tailwind
colors: {
  custom: {
    50: '#d488e5',
    500: '#bd51d8',
    950: '#000000',
  },
}
SCSS
$custom: #bd51d8;
$custom-light: #d488e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51d8",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 288,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.21404,
    "h": 319.1
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#BD51D8
secondary
#B2DDA8
accent
#E64162
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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