#BC38DB#BC38DB

#BC38DB is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.246 H 319.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BC38DB
RGBrgb(188, 56, 219)
HSLhsl(289, 69%, 54%)
HSVhsv(289, 74%, 86%)
CMYKcmyk(14.2%, 74.4%, 0%, 14.1%)
CIE-LABlab(50.26, 72.57, -57.35)
CIE-LCHlch(50.26, 92.50, 321.68°)
OKLaboklab(60.33% 0.186 -0.161)
OKLCHoklch(60.33% 0.246 319.1)
XYZxyz(34.9377, 18.6359, 68.7609)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC38DB #57DB38
analogous
#6B38DB #BC38DB #DB38A9
triadic
#BC38DB #DBBC38 #38DBBC
tetradic
#BC38DB #DB6B38 #57DB38 #38A9DB
square
#BC38DB #DB6B38 #57DB38 #38A9DB
split-complementary
#BC38DB #A9DB38 #38DB6B
monochromatic
#6D1781 #9921B5 #BC38DB #CD6CE4 #DFA0EE

Accessibility & contrast

On white

4.44
#BC38DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BC38DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC38DB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC38DB#FFFFFF#000000##000000
##BC38DB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#BC5A88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bc38db;
/* rgb */ color: rgb(188, 56, 219);
/* oklch */ color: oklch(60.3% 0.246 319.1);
Tailwind
colors: {
  custom: {
    50: '#d57ce7',
    500: '#bc38db',
    950: '#000000',
  },
}
SCSS
$custom: #bc38db;
$custom-light: #d57ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc38db",
  "rgb": {
    "r": 188,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 288.589,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.246,
    "h": 319.1
  },
  "luminance": 0.18634
}

Semantic roles & 50–950 ramp

primary
#BC38DB
secondary
#A2DA95
accent
#EC3C5D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BC38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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