#BD51BE#BD51BE

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

Color values

HEX#BD51BE
RGBrgb(189, 81, 190)
HSLhsl(299, 46%, 53%)
HSVhsv(299, 57%, 75%)
CMYKcmyk(0.5%, 57.4%, 0%, 25.5%)
CIE-LABlab(52.31, 57.76, -37.44)
CIE-LCHlch(52.31, 68.83, 327.05°)
OKLaboklab(61.32% 0.1604 -0.1032)
OKLCHoklch(61.32% 0.191 327.2)
XYZxyz(33.2224, 20.4234, 50.8974)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51BE #52BE51
analogous
#8751BE #BD51BE #BE5188
triadic
#BD51BE #BEBD51 #51BEBD
tetradic
#BD51BE #BE8751 #52BE51 #5188BE
square
#BD51BE #BE8751 #52BE51 #5188BE
split-complementary
#BD51BE #88BE51 #51BE87
monochromatic
#6C286C #983999 #BD51BE #CE7ECF #DFAADF

Accessibility & contrast

On white

4.13
#BD51BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD51BE#FFFFFF#000000##000000
##BD51BE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C1
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#C25E80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bd51be;
/* rgb */ color: rgb(189, 81, 190);
/* oklch */ color: oklch(61.3% 0.191 327.2);
Tailwind
colors: {
  custom: {
    50: '#d488d2',
    500: '#bd51be',
    950: '#000000',
  },
}
SCSS
$custom: #bd51be;
$custom-light: #d488d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51be",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 299.45,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.1907,
    "h": 327.2
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#BD51BE
secondary
#9ECD9E
accent
#D55354
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #BD51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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