#BC51D8#BC51D8

#BC51D8 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.214 H 318.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BC51D8
RGBrgb(188, 81, 216)
HSLhsl(288, 63%, 58%)
HSVhsv(288, 63%, 85%)
CMYKcmyk(13%, 62.5%, 0%, 15.3%)
CIE-LABlab(53.53, 62.31, -50.41)
CIE-LCHlch(53.53, 80.15, 321.03°)
OKLaboklab(62.62% 0.1606 -0.1409)
OKLCHoklch(62.62% 0.214 318.7)
XYZxyz(36.0745, 21.5356, 67.2090)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51D8 #6DD851
analogous
#7951D8 #BC51D8 #D851B0
triadic
#BC51D8 #D8BC51 #51D8BC
tetradic
#BC51D8 #D87951 #6DD851 #51B0D8
square
#BC51D8 #D87951 #6DD851 #51B0D8
split-complementary
#BC51D8 #B0D851 #51D879
monochromatic
#78208F #A22BC1 #BC51D8 #CF83E3 #E3B5EE

Accessibility & contrast

On white

3.96
#BC51D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BC51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51D8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51D8#FFFFFF#000000##000000
##BC51D81.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#5983D5
Tritanopia (blue-blind)
#BC688D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bc51d8;
/* rgb */ color: rgb(188, 81, 216);
/* oklch */ color: oklch(62.6% 0.214 318.7);
Tailwind
colors: {
  custom: {
    50: '#d388e5',
    500: '#bc51d8',
    950: '#000000',
  },
}
SCSS
$custom: #bc51d8;
$custom-light: #d388e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51d8",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 287.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.2136,
    "h": 318.7
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#BC51D8
secondary
#B3DDA8
accent
#E64164
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BC51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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