#BC38B4#BC38B4

#BC38B4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.215 H 330.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BC38B4
RGBrgb(188, 56, 180)
HSLhsl(304, 54%, 48%)
HSVhsv(304, 70%, 74%)
CMYKcmyk(0%, 70.2%, 4.3%, 26.3%)
CIE-LABlab(48.03, 65.92, -38.38)
CIE-LCHlch(48.03, 76.28, 329.79°)
OKLaboklab(58.02% 0.1873 -0.1057)
OKLCHoklch(58.02% 0.215 330.5)
XYZxyz(30.3913, 16.8173, 44.8166)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC38B4 #38BC40
analogous
#8238BC #BC38B4 #BC3872
triadic
#BC38B4 #B4BC38 #38B4BC
tetradic
#BC38B4 #BC8238 #38BC40 #3872BC
square
#BC38B4 #BC8238 #38BC40 #3872BC
split-complementary
#BC38B4 #72BC38 #38BC82
monochromatic
#5E1C5A #8D2A87 #BC38B4 #D061C9 #DE90D9

Accessibility & contrast

On white

4.81
#BC38B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BC38B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC38B4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC38B4#FFFFFF#000000##FFFFFF
##BC38B41.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#C34872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc38b4;
/* rgb */ color: rgb(188, 56, 180);
/* oklch */ color: oklch(58.0% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#d47bcb',
    500: '#bc38b4',
    950: '#000000',
  },
}
SCSS
$custom: #bc38b4;
$custom-light: #d47bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc38b4",
  "rgb": {
    "r": 188,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 303.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.21505,
    "h": 330.5
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#BC38B4
secondary
#87C98B
accent
#DD534A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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