#BD51C8#BD51C8

#BD51C8 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.9% C 0.200 H 323.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BD51C8
RGBrgb(189, 81, 200)
HSLhsl(294, 52%, 55%)
HSVhsv(294, 60%, 78%)
CMYKcmyk(5.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(52.81, 59.55, -42.41)
CIE-LCHlch(52.81, 73.11, 324.55°)
OKLaboklab(61.85% 0.1612 -0.1176)
OKLCHoklch(61.85% 0.2 323.9)
XYZxyz(34.3531, 20.8757, 56.8523)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51C8 #5CC851
analogous
#8251C8 #BD51C8 #C85197
triadic
#BD51C8 #C8BD51 #51C8BD
tetradic
#BD51C8 #C88251 #5CC851 #5197C8
square
#BD51C8 #C88251 #5CC851 #5197C8
split-complementary
#BD51C8 #97C851 #51C882
monochromatic
#712679 #9C35A7 #BD51C8 #CF80D7 #E0AEE5

Accessibility & contrast

On white

4.06
#BD51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BD51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51C8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51C8#FFFFFF#000000##000000
##BD51C81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#6383C5
Tritanopia (blue-blind)
#C06285
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd51c8;
/* rgb */ color: rgb(189, 81, 200);
/* oklch */ color: oklch(61.9% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#d488d9',
    500: '#bd51c8',
    950: '#000000',
  },
}
SCSS
$custom: #bd51c8;
$custom-light: #d488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51c8",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 294.454,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.1995,
    "h": 323.9
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#BD51C8
secondary
#A6D3A1
accent
#DB4C5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #BD51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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