#BD51E1#BD51E1

#BD51E1 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.222 H 316.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BD51E1
RGBrgb(189, 81, 225)
HSLhsl(285, 71%, 60%)
HSVhsv(285, 64%, 88%)
CMYKcmyk(16%, 64%, 0%, 11.8%)
CIE-LABlab(54.18, 64.29, -54.46)
CIE-LCHlch(54.18, 84.26, 319.73°)
OKLaboklab(63.28% 0.1617 -0.1527)
OKLCHoklch(63.28% 0.222 316.6)
XYZxyz(37.5173, 22.1414, 73.5170)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51E1 #75E151
analogous
#7551E1 #BD51E1 #E151BD
triadic
#BD51E1 #E1BD51 #51E1BD
tetradic
#BD51E1 #E17551 #75E151 #51BDE1
square
#BD51E1 #E17551 #75E151 #51BDE1
split-complementary
#BD51E1 #BDE151 #51E175
monochromatic
#7C1B9D #A624D1 #BD51E1 #D185EA #E5B9F3

Accessibility & contrast

On white

3.87
#BD51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BD51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51E1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51E1#FFFFFF#000000##000000
##BD51E11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#5385DE
Tritanopia (blue-blind)
#BB6B92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bd51e1;
/* rgb */ color: rgb(189, 81, 225);
/* oklch */ color: oklch(63.3% 0.222 316.6);
Tailwind
colors: {
  custom: {
    50: '#d489eb',
    500: '#bd51e1',
    950: '#000000',
  },
}
SCSS
$custom: #bd51e1;
$custom-light: #d489eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51e1",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 285,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.22238,
    "h": 316.6
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#BD51E1
secondary
#B9E3AB
accent
#ED3A67
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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