#BD38B5#BD38B5

#BD38B5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.216 H 330.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BD38B5
RGBrgb(189, 56, 181)
HSLhsl(304, 54%, 48%)
HSVhsv(304, 70%, 74%)
CMYKcmyk(0%, 70.4%, 4.2%, 25.9%)
CIE-LABlab(48.24, 66.31, -38.62)
CIE-LCHlch(48.24, 76.73, 329.78°)
OKLaboklab(58.23% 0.1883 -0.1064)
OKLCHoklch(58.23% 0.216 330.5)
XYZxyz(30.7408, 16.9857, 45.3666)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B5 #38BD40
analogous
#8238BD #BD38B5 #BD3872
triadic
#BD38B5 #B5BD38 #38B5BD
tetradic
#BD38B5 #BD8238 #38BD40 #3872BD
square
#BD38B5 #BD8238 #38BD40 #3872BD
split-complementary
#BD38B5 #72BD38 #38BD82
monochromatic
#5F1C5B #8E2A88 #BD38B5 #D062CA #DE91DA

Accessibility & contrast

On white

4.78
#BD38B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD38B5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B5#FFFFFF#000000##FFFFFF
##BD38B51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#C44873
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b5;
/* rgb */ color: rgb(189, 56, 181);
/* oklch */ color: oklch(58.2% 0.216 330.5);
Tailwind
colors: {
  custom: {
    50: '#d57bcb',
    500: '#bd38b5',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b5;
$custom-light: #d57bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b5",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 303.609,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.21631,
    "h": 330.5
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#BD38B5
secondary
#87C98B
accent
#DE534A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B5

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

Preview Lab → · Contrast checker → · Palette generator →

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