#BD38B9#BD38B9

#BD38B9 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.219 H 329.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BD38B9
RGBrgb(189, 56, 185)
HSLhsl(302, 54%, 48%)
HSVhsv(302, 70%, 74%)
CMYKcmyk(0%, 70.4%, 2.1%, 25.9%)
CIE-LABlab(48.45, 66.95, -40.62)
CIE-LCHlch(48.45, 78.31, 328.75°)
OKLaboklab(58.44% 0.1885 -0.1122)
OKLCHoklch(58.44% 0.219 329.2)
XYZxyz(31.1571, 17.1523, 47.5592)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B9 #38BD3C
analogous
#7F38BD #BD38B9 #BD3876
triadic
#BD38B9 #B9BD38 #38B9BD
tetradic
#BD38B9 #BD7F38 #38BD3C #3876BD
square
#BD38B9 #BD7F38 #38BD3C #3876BD
split-complementary
#BD38B9 #76BD38 #38BD7F
monochromatic
#5F1C5D #8E2A8B #BD38B9 #D062CD #DE91DC

Accessibility & contrast

On white

4.74
#BD38B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BD38B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B9#FFFFFF#000000##FFFFFF
##BD38B91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#C44A75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd38b9;
/* rgb */ color: rgb(189, 56, 185);
/* oklch */ color: oklch(58.4% 0.219 329.2);
Tailwind
colors: {
  custom: {
    50: '#d57bce',
    500: '#bd38b9',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b9;
$custom-light: #d57bce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b9",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 301.805,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.21935,
    "h": 329.2
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#BD38B9
secondary
#87C989
accent
#DE4F4A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BD38B9

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

Preview Lab → · Contrast checker → · Palette generator →

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