#BC51B3#BC51B3

#BC51B3 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.181 H 330.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BC51B3
RGBrgb(188, 81, 179)
HSLhsl(305, 44%, 53%)
HSVhsv(305, 57%, 74%)
CMYKcmyk(0%, 56.9%, 4.8%, 26.3%)
CIE-LABlab(51.65, 55.59, -32.11)
CIE-LCHlch(51.65, 64.20, 329.99°)
OKLaboklab(60.64% 0.1579 -0.0879)
OKLCHoklch(60.64% 0.181 330.9)
XYZxyz(31.8180, 19.8330, 44.7914)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51B3 #51BC5A
analogous
#9051BC #BC51B3 #BC517D
triadic
#BC51B3 #B3BC51 #51B3BC
tetradic
#BC51B3 #BC9051 #51BC5A #517DBC
square
#BC51B3 #BC9051 #51BC5A #517DBC
split-complementary
#BC51B3 #7DBC51 #51BC90
monochromatic
#6A2964 #963A8E #BC51B3 #CD7DC6 #DEA9DA

Accessibility & contrast

On white

4.23
#BC51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BC51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51B3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51B3#FFFFFF#000000##000000
##BC51B31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B6
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#C35B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc51b3;
/* rgb */ color: rgb(188, 81, 179);
/* oklch */ color: oklch(60.6% 0.181 330.9);
Tailwind
colors: {
  custom: {
    50: '#d387ca',
    500: '#bc51b3',
    950: '#000000',
  },
}
SCSS
$custom: #bc51b3;
$custom-light: #d387ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51b3",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 305.047,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60638,
    "c": 0.18074,
    "h": 330.9
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#BC51B3
secondary
#9DCCA1
accent
#D45E54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BC51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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