#BD38B3#BD38B3

#BD38B3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.215 H 331.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BD38B3
RGBrgb(189, 56, 179)
HSLhsl(305, 54%, 48%)
HSVhsv(305, 70%, 74%)
CMYKcmyk(0%, 70.4%, 5.3%, 25.9%)
CIE-LABlab(48.14, 65.99, -37.61)
CIE-LCHlch(48.14, 75.95, 330.32°)
OKLaboklab(58.12% 0.1882 -0.1035)
OKLCHoklch(58.12% 0.215 331.2)
XYZxyz(30.5371, 16.9042, 44.2936)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B3 #38BD42
analogous
#8438BD #BD38B3 #BD3871
triadic
#BD38B3 #B3BD38 #38B3BD
tetradic
#BD38B3 #BD8438 #38BD42 #3871BD
square
#BD38B3 #BD8438 #38BD42 #3871BD
split-complementary
#BD38B3 #71BD38 #38BD84
monochromatic
#5F1C5A #8E2A86 #BD38B3 #D062C8 #DE91D9

Accessibility & contrast

On white

4.79
#BD38B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BD38B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B3#FFFFFF#000000##FFFFFF
##BD38B31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#C54772
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b3;
/* rgb */ color: rgb(189, 56, 179);
/* oklch */ color: oklch(58.1% 0.215 331.2);
Tailwind
colors: {
  custom: {
    50: '#d57bca',
    500: '#bd38b3',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b3;
$custom-light: #d57bca;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b3",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 304.511,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.21482,
    "h": 331.2
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#BD38B3
secondary
#87C98C
accent
#DE554A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B3

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

Preview Lab → · Contrast checker → · Palette generator →

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