#BD38B6#BD38B6

#BD38B6 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.217 H 330.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BD38B6
RGBrgb(189, 56, 182)
HSLhsl(303, 54%, 48%)
HSVhsv(303, 70%, 74%)
CMYKcmyk(0%, 70.4%, 3.7%, 25.9%)
CIE-LABlab(48.29, 66.47, -39.12)
CIE-LCHlch(48.29, 77.12, 329.52°)
OKLaboklab(58.28% 0.1884 -0.1079)
OKLCHoklch(58.28% 0.217 330.2)
XYZxyz(30.8438, 17.0269, 45.9089)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B6 #38BD3F
analogous
#8138BD #BD38B6 #BD3873
triadic
#BD38B6 #B6BD38 #38B6BD
tetradic
#BD38B6 #BD8138 #38BD3F #3873BD
square
#BD38B6 #BD8138 #38BD3F #3873BD
split-complementary
#BD38B6 #73BD38 #38BD81
monochromatic
#5F1C5B #8E2A89 #BD38B6 #D062CB #DE91DA

Accessibility & contrast

On white

4.77
#BD38B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BD38B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B6#FFFFFF#000000##FFFFFF
##BD38B61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#C44973
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd38b6;
/* rgb */ color: rgb(189, 56, 182);
/* oklch */ color: oklch(58.3% 0.217 330.2);
Tailwind
colors: {
  custom: {
    50: '#d57bcc',
    500: '#bd38b6',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b6;
$custom-light: #d57bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b6",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 303.158,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.21708,
    "h": 330.2
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#BD38B6
secondary
#87C98B
accent
#DE524A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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