#BC51CB#BC51CB

#BC51CB is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.202 H 322.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BC51CB
RGBrgb(188, 81, 203)
HSLhsl(293, 54%, 56%)
HSVhsv(293, 60%, 80%)
CMYKcmyk(7.4%, 60.1%, 0%, 20.4%)
CIE-LABlab(52.83, 59.85, -44.11)
CIE-LCHlch(52.83, 74.35, 323.61°)
OKLaboklab(61.88% 0.1602 -0.1225)
OKLCHoklch(61.88% 0.202 322.6)
XYZxyz(34.4599, 20.8898, 58.7054)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51CB #60CB51
analogous
#7F51CB #BC51CB #CB519D
triadic
#BC51CB #CBBC51 #51CBBC
tetradic
#BC51CB #CB7F51 #60CB51 #519DCB
square
#BC51CB #CB7F51 #60CB51 #519DCB
split-complementary
#BC51CB #9DCB51 #51CB7F
monochromatic
#72257C #9D33AC #BC51CB #CE80D9 #E0AFE7

Accessibility & contrast

On white

4.06
#BC51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BC51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51CB#FFFFFF#000000##000000
##BC51CB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#BF6387
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bc51cb;
/* rgb */ color: rgb(188, 81, 203);
/* oklch */ color: oklch(61.9% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#d388db',
    500: '#bc51cb',
    950: '#000000',
  },
}
SCSS
$custom: #bc51cb;
$custom-light: #d388db;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51cb",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 292.623,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.2017,
    "h": 322.6
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#BC51CB
secondary
#A9D5A3
accent
#DD4A5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BC51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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