#BD51E8#BD51E8

#BD51E8 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.7% C 0.229 H 314.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BD51E8
RGBrgb(189, 81, 232)
HSLhsl(283, 77%, 61%)
HSVhsv(283, 65%, 91%)
CMYKcmyk(18.5%, 65.1%, 0%, 9%)
CIE-LABlab(54.59, 65.67, -57.75)
CIE-LCHlch(54.59, 87.45, 318.67°)
OKLaboklab(63.71% 0.1614 -0.1623)
OKLCHoklch(63.71% 0.229 314.8)
XYZxyz(38.4918, 22.5312, 78.6496)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51E8 #7CE851
analogous
#7251E8 #BD51E8 #E851C8
triadic
#BD51E8 #E8BD51 #51E8BD
tetradic
#BD51E8 #E87251 #7CE851 #51C8E8
square
#BD51E8 #E87251 #7CE851 #51C8E8
split-complementary
#BD51E8 #C8E851 #51E872
monochromatic
#7F16A8 #A71DDE #BD51E8 #D287EF #E6BDF6

Accessibility & contrast

On white

3.81
#BD51E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BD51E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51E8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51E8#FFFFFF#000000##000000
##BD51E81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4D85E4
Tritanopia (blue-blind)
#BA6E96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd51e8;
/* rgb */ color: rgb(189, 81, 232);
/* oklch */ color: oklch(63.7% 0.229 314.8);
Tailwind
colors: {
  custom: {
    50: '#d589f0',
    500: '#bd51e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd51e8;
$custom-light: #d589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51e8",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 282.914,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63706,
    "c": 0.22893,
    "h": 314.8
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#BD51E8
secondary
#BEE7AE
accent
#D90D47
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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