#BD51D7#BD51D7

#BD51D7 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.213 H 319.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BD51D7
RGBrgb(189, 81, 215)
HSLhsl(288, 63%, 58%)
HSVhsv(288, 62%, 84%)
CMYKcmyk(12.1%, 62.3%, 0%, 15.7%)
CIE-LABlab(53.61, 62.35, -49.70)
CIE-LCHlch(53.61, 79.74, 321.44°)
OKLaboklab(62.69% 0.1617 -0.1388)
OKLCHoklch(62.69% 0.213 319.4)
XYZxyz(36.1929, 21.6116, 66.5418)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51D7 #6BD751
analogous
#7A51D7 #BD51D7 #D751AE
triadic
#BD51D7 #D7BD51 #51D7BD
tetradic
#BD51D7 #D77A51 #6BD751 #51AED7
square
#BD51D7 #D77A51 #6BD751 #51AED7
split-complementary
#BD51D7 #AED751 #51D77A
monochromatic
#78208D #A22CBF #BD51D7 #D083E2 #E3B5EE

Accessibility & contrast

On white

3.95
#BD51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BD51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51D7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51D7#FFFFFF#000000##000000
##BD51D71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#5A84D4
Tritanopia (blue-blind)
#BD678D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bd51d7;
/* rgb */ color: rgb(189, 81, 215);
/* oklch */ color: oklch(62.7% 0.213 319.4);
Tailwind
colors: {
  custom: {
    50: '#d488e4',
    500: '#bd51d7',
    950: '#000000',
  },
}
SCSS
$custom: #bd51d7;
$custom-light: #d488e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51d7",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 288.358,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.21312,
    "h": 319.4
  },
  "luminance": 0.2161
}

Semantic roles & 50–950 ramp

primary
#BD51D7
secondary
#B2DDA7
accent
#E64262
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #BD51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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