#BC51AF#BC51AF

#BC51AF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.177 H 332.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BC51AF
RGBrgb(188, 81, 175)
HSLhsl(307, 44%, 53%)
HSVhsv(307, 57%, 74%)
CMYKcmyk(0%, 56.9%, 6.9%, 26.3%)
CIE-LABlab(51.47, 54.92, -30.06)
CIE-LCHlch(51.47, 62.61, 331.30°)
OKLaboklab(60.45% 0.1573 -0.082)
OKLCHoklch(60.45% 0.177 332.5)
XYZxyz(31.4193, 19.6736, 42.6917)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51AF #51BC5E
analogous
#9451BC #BC51AF #BC5179
triadic
#BC51AF #AFBC51 #51AFBC
tetradic
#BC51AF #BC9451 #51BC5E #5179BC
square
#BC51AF #BC9451 #51BC5E #5179BC
split-complementary
#BC51AF #79BC51 #51BC94
monochromatic
#6A2962 #963A8B #BC51AF #CD7DC3 #DEA9D8

Accessibility & contrast

On white

4.26
#BC51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BC51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51AF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51AF#FFFFFF#000000##000000
##BC51AF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#6F80AC
Tritanopia (blue-blind)
#C35979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc51af;
/* rgb */ color: rgb(188, 81, 175);
/* oklch */ color: oklch(60.4% 0.177 332.5);
Tailwind
colors: {
  custom: {
    50: '#d387c7',
    500: '#bc51af',
    950: '#000000',
  },
}
SCSS
$custom: #bc51af;
$custom-light: #d387c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51af",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 307.29,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.17745,
    "h": 332.5
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#BC51AF
secondary
#9DCCA3
accent
#D46354
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BC51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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