#BC51BA#BC51BA

#BC51BA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.187 H 328.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BC51BA
RGBrgb(188, 81, 186)
HSLhsl(301, 44%, 53%)
HSVhsv(301, 57%, 74%)
CMYKcmyk(0%, 56.9%, 1.1%, 26.3%)
CIE-LABlab(51.98, 56.79, -35.66)
CIE-LCHlch(51.98, 67.06, 327.87°)
OKLaboklab(60.99% 0.1588 -0.0981)
OKLCHoklch(60.99% 0.187 328.3)
XYZxyz(32.5440, 20.1234, 48.6149)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51BA #51BC53
analogous
#8851BC #BC51BA #BC5185
triadic
#BC51BA #BABC51 #51BABC
tetradic
#BC51BA #BC8851 #51BC53 #5185BC
square
#BC51BA #BC8851 #51BC53 #5185BC
split-complementary
#BC51BA #85BC51 #51BC88
monochromatic
#6A2969 #963A94 #BC51BA #CD7DCC #DEA9DD

Accessibility & contrast

On white

4.18
#BC51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BC51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51BA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51BA#FFFFFF#000000##000000
##BC51BA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#C25D7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc51ba;
/* rgb */ color: rgb(188, 81, 186);
/* oklch */ color: oklch(61.0% 0.187 328.3);
Tailwind
colors: {
  custom: {
    50: '#d388cf',
    500: '#bc51ba',
    950: '#000000',
  },
}
SCSS
$custom: #bc51ba;
$custom-light: #d388cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51ba",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 301.121,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.18667,
    "h": 328.3
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#BC51BA
secondary
#9DCC9E
accent
#D45654
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BC51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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