#BD38B8#BD38B8

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

Color values

HEX#BD38B8
RGBrgb(189, 56, 184)
HSLhsl(302, 54%, 48%)
HSVhsv(302, 70%, 74%)
CMYKcmyk(0%, 70.4%, 2.6%, 25.9%)
CIE-LABlab(48.40, 66.79, -40.12)
CIE-LCHlch(48.40, 77.91, 329.00°)
OKLaboklab(58.39% 0.1884 -0.1108)
OKLCHoklch(58.39% 0.219 329.5)
XYZxyz(31.0519, 17.1102, 47.0052)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B8 #38BD3D
analogous
#8038BD #BD38B8 #BD3875
triadic
#BD38B8 #B8BD38 #38B8BD
tetradic
#BD38B8 #BD8038 #38BD3D #3875BD
square
#BD38B8 #BD8038 #38BD3D #3875BD
split-complementary
#BD38B8 #75BD38 #38BD80
monochromatic
#5F1C5C #8E2A8A #BD38B8 #D062CC #DE91DB

Accessibility & contrast

On white

4.75
#BD38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BD38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B8#FFFFFF#000000##FFFFFF
##BD38B81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BC
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#C44A74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd38b8;
/* rgb */ color: rgb(189, 56, 184);
/* oklch */ color: oklch(58.4% 0.219 329.5);
Tailwind
colors: {
  custom: {
    50: '#d57bce',
    500: '#bd38b8',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b8;
$custom-light: #d57bce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b8",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 302.256,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.21859,
    "h": 329.5
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#BD38B8
secondary
#87C98A
accent
#DE504A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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