#BC38D4#BC38D4

#BC38D4 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.240 H 321.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BC38D4
RGBrgb(188, 56, 212)
HSLhsl(291, 64%, 53%)
HSVhsv(291, 74%, 83%)
CMYKcmyk(11.3%, 73.6%, 0%, 16.9%)
CIE-LABlab(49.83, 71.32, -54.05)
CIE-LCHlch(49.83, 89.48, 322.84°)
OKLaboklab(59.89% 0.1866 -0.1514)
OKLCHoklch(59.89% 0.24 321)
XYZxyz(34.0355, 18.2750, 64.0093)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC38D4 #50D438
analogous
#6E38D4 #BC38D4 #D4389E
triadic
#BC38D4 #D4BC38 #38D4BC
tetradic
#BC38D4 #D46E38 #50D438 #389ED4
square
#BC38D4 #D46E38 #50D438 #389ED4
split-complementary
#BC38D4 #9ED438 #38D46E
monochromatic
#691A78 #9625AA #BC38D4 #CD6ADF #DE9DEA

Accessibility & contrast

On white

4.51
#BC38D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BC38D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC38D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC38D4#FFFFFF#000000##000000
##BC38D41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#BD5784
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bc38d4;
/* rgb */ color: rgb(188, 56, 212);
/* oklch */ color: oklch(59.9% 0.240 321.0);
Tailwind
colors: {
  custom: {
    50: '#d47ce2',
    500: '#bc38d4',
    950: '#000000',
  },
}
SCSS
$custom: #bc38d4;
$custom-light: #d47ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc38d4",
  "rgb": {
    "r": 188,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 290.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.24028,
    "h": 321
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#BC38D4
secondary
#9CD692
accent
#E7405A
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BC38D4

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

Preview Lab → · Contrast checker → · Palette generator →

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