#BD38B7#BD38B7

#BD38B7 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.218 H 329.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BD38B7
RGBrgb(189, 56, 183)
HSLhsl(303, 54%, 48%)
HSVhsv(303, 70%, 74%)
CMYKcmyk(0%, 70.4%, 3.2%, 25.9%)
CIE-LABlab(48.35, 66.63, -39.62)
CIE-LCHlch(48.35, 77.52, 329.26°)
OKLaboklab(58.33% 0.1884 -0.1093)
OKLCHoklch(58.33% 0.218 329.9)
XYZxyz(30.9475, 17.0684, 46.4551)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B7 #38BD3E
analogous
#8038BD #BD38B7 #BD3874
triadic
#BD38B7 #B7BD38 #38B7BD
tetradic
#BD38B7 #BD8038 #38BD3E #3874BD
square
#BD38B7 #BD8038 #38BD3E #3874BD
split-complementary
#BD38B7 #74BD38 #38BD80
monochromatic
#5F1C5C #8E2A89 #BD38B7 #D062CB #DE91DB

Accessibility & contrast

On white

4.76
#BD38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BD38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B7#FFFFFF#000000##FFFFFF
##BD38B71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BB
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#C44974
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd38b7;
/* rgb */ color: rgb(189, 56, 183);
/* oklch */ color: oklch(58.3% 0.218 329.9);
Tailwind
colors: {
  custom: {
    50: '#d57bcd',
    500: '#bd38b7',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b7;
$custom-light: #d57bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b7",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 302.707,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.21783,
    "h": 329.9
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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