#BD51E6#BD51E6

#BD51E6 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.6% C 0.227 H 315.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BD51E6
RGBrgb(189, 81, 230)
HSLhsl(283, 75%, 61%)
HSVhsv(283, 65%, 90%)
CMYKcmyk(17.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(54.47, 65.28, -56.81)
CIE-LCHlch(54.47, 86.54, 318.96°)
OKLaboklab(63.58% 0.1615 -0.1596)
OKLCHoklch(63.58% 0.227 315.3)
XYZxyz(38.2094, 22.4182, 77.1620)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51E6 #7AE651
analogous
#7251E6 #BD51E6 #E651C4
triadic
#BD51E6 #E6BD51 #51E6BD
tetradic
#BD51E6 #E67251 #7AE651 #51C4E6
square
#BD51E6 #E67251 #7AE651 #51C4E6
split-complementary
#BD51E6 #C4E651 #51E672
monochromatic
#7E18A5 #A71FDA #BD51E6 #D187EE #E6BCF5

Accessibility & contrast

On white

3.83
#BD51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BD51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51E6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51E6#FFFFFF#000000##000000
##BD51E61.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#077CEA
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#BA6D95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bd51e6;
/* rgb */ color: rgb(189, 81, 230);
/* oklch */ color: oklch(63.6% 0.227 315.3);
Tailwind
colors: {
  custom: {
    50: '#d589ef',
    500: '#bd51e6',
    950: '#000000',
  },
}
SCSS
$custom: #bd51e6;
$custom-light: #d589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51e6",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 283.49,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63583,
    "c": 0.22705,
    "h": 315.3
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#BD51E6
secondary
#BDE5AD
accent
#D70E46
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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