#BC51BD#BC51BD

#BC51BD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.189 H 327.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BC51BD
RGBrgb(188, 81, 189)
HSLhsl(299, 45%, 53%)
HSVhsv(299, 57%, 74%)
CMYKcmyk(0.5%, 57.1%, 0%, 25.9%)
CIE-LABlab(52.12, 57.32, -37.17)
CIE-LCHlch(52.12, 68.32, 327.04°)
OKLaboklab(61.14% 0.1591 -0.1025)
OKLCHoklch(61.14% 0.189 327.2)
XYZxyz(32.8662, 20.2523, 50.3122)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51BD #52BD51
analogous
#8651BD #BC51BD #BD5188
triadic
#BC51BD #BDBC51 #51BDBC
tetradic
#BC51BD #BD8651 #52BD51 #5188BD
square
#BC51BD #BD8651 #52BD51 #5188BD
split-complementary
#BC51BD #88BD51 #51BD86
monochromatic
#6A296B #973997 #BC51BD #CD7DCE #DEAADF

Accessibility & contrast

On white

4.16
#BC51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BC51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51BD#FFFFFF#000000##000000
##BC51BD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#C15E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bc51bd;
/* rgb */ color: rgb(188, 81, 189);
/* oklch */ color: oklch(61.1% 0.189 327.2);
Tailwind
colors: {
  custom: {
    50: '#d388d1',
    500: '#bc51bd',
    950: '#000000',
  },
}
SCSS
$custom: #bc51bd;
$custom-light: #d388d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51bd",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 299.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.18926,
    "h": 327.2
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#BC51BD
secondary
#9ECC9E
accent
#D55354
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BC51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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