#BC51BC#BC51BC

#BC51BC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.188 H 327.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BC51BC
RGBrgb(188, 81, 188)
HSLhsl(300, 44%, 53%)
HSVhsv(300, 57%, 74%)
CMYKcmyk(0%, 56.9%, 0%, 26.3%)
CIE-LABlab(52.07, 57.14, -36.67)
CIE-LCHlch(52.07, 67.90, 327.31°)
OKLaboklab(61.09% 0.159 -0.101)
OKLCHoklch(61.09% 0.188 327.6)
XYZxyz(32.7581, 20.2091, 49.7425)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51BC #51BC51
analogous
#8651BC #BC51BC #BC5186
triadic
#BC51BC #BCBC51 #51BCBC
tetradic
#BC51BC #BC8651 #51BC51 #5186BC
square
#BC51BC #BC8651 #51BC51 #5186BC
split-complementary
#BC51BC #86BC51 #51BC86
monochromatic
#6A296A #963A96 #BC51BC #CD7DCD #DEA9DE

Accessibility & contrast

On white

4.17
#BC51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BC51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51BC#FFFFFF#000000##000000
##BC51BC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#C15E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc51bc;
/* rgb */ color: rgb(188, 81, 188);
/* oklch */ color: oklch(61.1% 0.188 327.6);
Tailwind
colors: {
  custom: {
    50: '#d388d0',
    500: '#bc51bc',
    950: '#000000',
  },
}
SCSS
$custom: #bc51bc;
$custom-light: #d388d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51bc",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 300,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.1884,
    "h": 327.6
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#BC51BC
secondary
#9DCC9D
accent
#D45454
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BC51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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