#BC51B2#BC51B2

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

Color values

HEX#BC51B2
RGBrgb(188, 81, 178)
HSLhsl(306, 44%, 53%)
HSVhsv(306, 57%, 74%)
CMYKcmyk(0%, 56.9%, 5.3%, 26.3%)
CIE-LABlab(51.60, 55.42, -31.60)
CIE-LCHlch(51.60, 63.80, 330.31°)
OKLaboklab(60.59% 0.1578 -0.0864)
OKLCHoklch(60.59% 0.18 331.3)
XYZxyz(31.7172, 19.7927, 44.2607)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51B2 #51BC5B
analogous
#9051BC #BC51B2 #BC517D
triadic
#BC51B2 #B2BC51 #51B2BC
tetradic
#BC51B2 #BC9051 #51BC5B #517DBC
square
#BC51B2 #BC9051 #51BC5B #517DBC
split-complementary
#BC51B2 #7DBC51 #51BC90
monochromatic
#6A2964 #963A8D #BC51B2 #CD7DC6 #DEA9D9

Accessibility & contrast

On white

4.24
#BC51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BC51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51B2#FFFFFF#000000##000000
##BC51B21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#C35A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc51b2;
/* rgb */ color: rgb(188, 81, 178);
/* oklch */ color: oklch(60.6% 0.180 331.3);
Tailwind
colors: {
  custom: {
    50: '#d387c9',
    500: '#bc51b2',
    950: '#000000',
  },
}
SCSS
$custom: #bc51b2;
$custom-light: #d387c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51b2",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 305.607,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.17991,
    "h": 331.3
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#BC51B2
secondary
#9DCCA2
accent
#D46054
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BC51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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