#BD51CC#BD51CC

#BD51CC is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.1% C 0.203 H 322.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BD51CC
RGBrgb(189, 81, 204)
HSLhsl(293, 55%, 56%)
HSVhsv(293, 60%, 80%)
CMYKcmyk(7.4%, 60.3%, 0%, 20%)
CIE-LABlab(53.02, 60.29, -44.37)
CIE-LCHlch(53.02, 74.85, 323.65°)
OKLaboklab(62.07% 0.1614 -0.1233)
OKLCHoklch(62.07% 0.203 322.6)
XYZxyz(34.8267, 21.0651, 59.3466)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51CC #60CC51
analogous
#7F51CC #BD51CC #CC519D
triadic
#BD51CC #CCBD51 #51CCBD
tetradic
#BD51CC #CC7F51 #60CC51 #519DCC
square
#BD51CC #CC7F51 #60CC51 #519DCC
split-complementary
#BD51CC #9DCC51 #51CC7F
monochromatic
#73257E #9E33AD #BD51CC #CF80DA #E1B0E8

Accessibility & contrast

On white

4.03
#BD51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BD51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51CC#FFFFFF#000000##000000
##BD51CC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#C06387
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bd51cc;
/* rgb */ color: rgb(189, 81, 204);
/* oklch */ color: oklch(62.1% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#d488dc',
    500: '#bd51cc',
    950: '#000000',
  },
}
SCSS
$custom: #bd51cc;
$custom-light: #d488dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51cc",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 292.683,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.2031,
    "h": 322.6
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#BD51CC
secondary
#A9D6A3
accent
#DE4A5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #BD51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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