#BD51E4#BD51E4

#BD51E4 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.225 H 315.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BD51E4
RGBrgb(189, 81, 228)
HSLhsl(284, 73%, 61%)
HSVhsv(284, 64%, 89%)
CMYKcmyk(17.1%, 64.5%, 0%, 10.6%)
CIE-LABlab(54.35, 64.88, -55.88)
CIE-LCHlch(54.35, 85.63, 319.26°)
OKLaboklab(63.46% 0.1616 -0.1568)
OKLCHoklch(63.46% 0.225 315.9)
XYZxyz(37.9301, 22.3065, 75.6913)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51E4 #78E451
analogous
#7451E4 #BD51E4 #E451C1
triadic
#BD51E4 #E4BD51 #51E4BD
tetradic
#BD51E4 #E47451 #78E451 #51C1E4
square
#BD51E4 #E47451 #78E451 #51C1E4
split-complementary
#BD51E4 #C1E451 #51E474
monochromatic
#7D19A2 #A621D7 #BD51E4 #D186EC #E5BBF4

Accessibility & contrast

On white

3.85
#BD51E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#BD51E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51E4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51E4#FFFFFF#000000##000000
##BD51E41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#107CE8
Deuteranopia (green-blind)
#5085E1
Tritanopia (blue-blind)
#BA6C94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bd51e4;
/* rgb */ color: rgb(189, 81, 228);
/* oklch */ color: oklch(63.5% 0.225 315.9);
Tailwind
colors: {
  custom: {
    50: '#d589ed',
    500: '#bd51e4',
    950: '#000000',
  },
}
SCSS
$custom: #bd51e4;
$custom-light: #d589ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51e4",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 284.082,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.22519,
    "h": 315.9
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

primary
#BD51E4
secondary
#BBE4AC
accent
#D51045
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51E4

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

Preview Lab → · Contrast checker → · Palette generator →

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