#BD38AC#BD38AC

#BD38AC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.210 H 333.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BD38AC
RGBrgb(189, 56, 172)
HSLhsl(308, 54%, 48%)
HSVhsv(308, 70%, 74%)
CMYKcmyk(0%, 70.4%, 9%, 25.9%)
CIE-LABlab(47.79, 64.90, -34.04)
CIE-LCHlch(47.79, 73.29, 332.32°)
OKLaboklab(57.75% 0.1878 -0.0932)
OKLCHoklch(57.75% 0.21 333.6)
XYZxyz(29.8470, 16.6282, 40.6593)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38AC #38BD49
analogous
#8B38BD #BD38AC #BD3869
triadic
#BD38AC #ACBD38 #38ACBD
tetradic
#BD38AC #BD8B38 #38BD49 #3869BD
square
#BD38AC #BD8B38 #38BD49 #3869BD
split-complementary
#BD38AC #69BD38 #38BD8B
monochromatic
#5F1C56 #8E2A81 #BD38AC #D062C2 #DE91D5

Accessibility & contrast

On white

4.86
#BD38AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BD38AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38AC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38AC#FFFFFF#000000##FFFFFF
##BD38AC1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#C6446E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bd38ac;
/* rgb */ color: rgb(189, 56, 172);
/* oklch */ color: oklch(57.8% 0.210 333.6);
Tailwind
colors: {
  custom: {
    50: '#d57ac5',
    500: '#bd38ac',
    950: '#000000',
  },
}
SCSS
$custom: #bd38ac;
$custom-light: #d57ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38ac",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 307.669,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.20965,
    "h": 333.6
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#BD38AC
secondary
#87C990
accent
#DE5D4A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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