#BD51CB#BD51CB

#BD51CB is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.202 H 322.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BD51CB
RGBrgb(189, 81, 203)
HSLhsl(293, 54%, 56%)
HSVhsv(293, 60%, 80%)
CMYKcmyk(6.9%, 60.1%, 0%, 20.4%)
CIE-LABlab(52.97, 60.10, -43.88)
CIE-LCHlch(52.97, 74.42, 323.87°)
OKLaboklab(62.02% 0.1614 -0.1219)
OKLCHoklch(62.02% 0.202 322.9)
XYZxyz(34.7071, 21.0173, 58.7169)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51CB #5FCB51
analogous
#8051CB #BD51CB #CB519C
triadic
#BD51CB #CBBD51 #51CBBD
tetradic
#BD51CB #CB8051 #5FCB51 #519CCB
square
#BD51CB #CB8051 #5FCB51 #519CCB
split-complementary
#BD51CB #9CCB51 #51CB80
monochromatic
#72257C #9E33AC #BD51CB #CF80D9 #E1AFE7

Accessibility & contrast

On white

4.04
#BD51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BD51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51CB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51CB#FFFFFF#000000##000000
##BD51CB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#C06387
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd51cb;
/* rgb */ color: rgb(189, 81, 203);
/* oklch */ color: oklch(62.0% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#d488db',
    500: '#bd51cb',
    950: '#000000',
  },
}
SCSS
$custom: #bd51cb;
$custom-light: #d488db;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51cb",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 293.115,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62015,
    "c": 0.2022,
    "h": 322.9
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#BD51CB
secondary
#A8D5A3
accent
#DD4A5B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #BD51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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