#BD51BD#BD51BD

#BD51BD is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.190 H 327.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BD51BD
RGBrgb(189, 81, 189)
HSLhsl(300, 45%, 53%)
HSVhsv(300, 57%, 74%)
CMYKcmyk(0%, 57.1%, 0%, 25.9%)
CIE-LABlab(52.26, 57.58, -36.94)
CIE-LCHlch(52.26, 68.41, 327.32°)
OKLaboklab(61.27% 0.1603 -0.1018)
OKLCHoklch(61.27% 0.19 327.6)
XYZxyz(33.1135, 20.3798, 50.3238)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51BD #51BD51
analogous
#8751BD #BD51BD #BD5187
triadic
#BD51BD #BDBD51 #51BDBD
tetradic
#BD51BD #BD8751 #51BD51 #5187BD
square
#BD51BD #BD8751 #51BD51 #5187BD
split-complementary
#BD51BD #87BD51 #51BD87
monochromatic
#6B296B #973997 #BD51BD #CE7DCE #DFAADF

Accessibility & contrast

On white

4.14
#BD51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BD51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51BD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51BD#FFFFFF#000000##000000
##BD51BD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C0
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#C25E7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bd51bd;
/* rgb */ color: rgb(189, 81, 189);
/* oklch */ color: oklch(61.3% 0.190 327.6);
Tailwind
colors: {
  custom: {
    50: '#d488d1',
    500: '#bd51bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd51bd;
$custom-light: #d488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51bd",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.18984,
    "h": 327.6
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#BD51BD
secondary
#9ECC9E
accent
#D55353
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BD51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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