#BD51D9#BD51D9

#BD51D9 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.215 H 318.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BD51D9
RGBrgb(189, 81, 217)
HSLhsl(288, 64%, 58%)
HSVhsv(288, 63%, 85%)
CMYKcmyk(12.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(53.72, 62.74, -50.66)
CIE-LCHlch(53.72, 80.64, 321.08°)
OKLaboklab(62.81% 0.1617 -0.1416)
OKLCHoklch(62.81% 0.215 318.8)
XYZxyz(36.4514, 21.7150, 67.9035)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51D9 #6DD951
analogous
#7951D9 #BD51D9 #D951B1
triadic
#BD51D9 #D9BD51 #51D9BD
tetradic
#BD51D9 #D97951 #6DD951 #51B1D9
square
#BD51D9 #D97951 #6DD951 #51B1D9
split-complementary
#BD51D9 #B1D951 #51D979
monochromatic
#791F90 #A32AC2 #BD51D9 #D083E4 #E3B5EF

Accessibility & contrast

On white

3.93
#BD51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BD51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51D9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51D9#FFFFFF#000000##000000
##BD51D91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#5984D6
Tritanopia (blue-blind)
#BD688E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bd51d9;
/* rgb */ color: rgb(189, 81, 217);
/* oklch */ color: oklch(62.8% 0.215 318.8);
Tailwind
colors: {
  custom: {
    50: '#d488e5',
    500: '#bd51d9',
    950: '#000000',
  },
}
SCSS
$custom: #bd51d9;
$custom-light: #d488e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51d9",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 287.647,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.21497,
    "h": 318.8
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#BD51D9
secondary
#B3DEA8
accent
#E74163
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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