#BD51E3#BD51E3

#BD51E3 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.224 H 316.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BD51E3
RGBrgb(189, 81, 227)
HSLhsl(284, 72%, 60%)
HSVhsv(284, 64%, 89%)
CMYKcmyk(16.7%, 64.3%, 0%, 11%)
CIE-LABlab(54.29, 64.68, -55.41)
CIE-LCHlch(54.29, 85.17, 319.42°)
OKLaboklab(63.4% 0.1616 -0.1555)
OKLCHoklch(63.4% 0.224 316.1)
XYZxyz(37.7917, 22.2511, 74.9623)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51E3 #77E351
analogous
#7451E3 #BD51E3 #E351C0
triadic
#BD51E3 #E3BD51 #51E3BD
tetradic
#BD51E3 #E37451 #77E351 #51C0E3
square
#BD51E3 #E37451 #77E351 #51C0E3
split-complementary
#BD51E3 #C0E351 #51E374
monochromatic
#7D1AA0 #A622D5 #BD51E3 #D186EB #E5BAF4

Accessibility & contrast

On white

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

On black

5.45
#BD51E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51E3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51E3#FFFFFF#000000##000000
##BD51E31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE7
Deuteranopia (green-blind)
#5185E0
Tritanopia (blue-blind)
#BB6C93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bd51e3;
/* rgb */ color: rgb(189, 81, 227);
/* oklch */ color: oklch(63.4% 0.224 316.1);
Tailwind
colors: {
  custom: {
    50: '#d489ec',
    500: '#bd51e3',
    950: '#000000',
  },
}
SCSS
$custom: #bd51e3;
$custom-light: #d489ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51e3",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 284.384,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.634,
    "c": 0.22425,
    "h": 316.1
  },
  "luminance": 0.2225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD51E3

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

Preview Lab → · Contrast checker → · Palette generator →

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