#BD51EB#BD51EB

#BD51EB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.232 H 314.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BD51EB
RGBrgb(189, 81, 235)
HSLhsl(282, 79%, 62%)
HSVhsv(282, 66%, 92%)
CMYKcmyk(19.6%, 65.5%, 0%, 7.8%)
CIE-LABlab(54.77, 66.27, -59.15)
CIE-LCHlch(54.77, 88.83, 318.25°)
OKLaboklab(63.89% 0.1613 -0.1664)
OKLCHoklch(63.89% 0.232 314.1)
XYZxyz(38.9216, 22.7031, 80.9130)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51EB #7FEB51
analogous
#7051EB #BD51EB #EB51CC
triadic
#BD51EB #EBBD51 #51EBBD
tetradic
#BD51EB #EB7051 #7FEB51 #51CCEB
square
#BD51EB #EB7051 #7FEB51 #51CCEB
split-complementary
#BD51EB #CCEB51 #51EB70
monochromatic
#8014AE #A81AE5 #BD51EB #D288F1 #E7BFF8

Accessibility & contrast

On white

3.79
#BD51EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BD51EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51EB#FFFFFF#000000##000000
##BD51EB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#B96F98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd51eb;
/* rgb */ color: rgb(189, 81, 235);
/* oklch */ color: oklch(63.9% 0.232 314.1);
Tailwind
colors: {
  custom: {
    50: '#d589f2',
    500: '#bd51eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd51eb;
$custom-light: #d589f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51eb",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 282.078,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63892,
    "c": 0.23174,
    "h": 314.1
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#BD51EB
secondary
#C0E8B0
accent
#DC0A49
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD51EB

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

Preview Lab → · Contrast checker → · Palette generator →

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