#BD38BA#BD38BA

#BD38BA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.220 H 328.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BD38BA
RGBrgb(189, 56, 186)
HSLhsl(301, 54%, 48%)
HSVhsv(301, 70%, 74%)
CMYKcmyk(0%, 70.4%, 1.6%, 25.9%)
CIE-LABlab(48.50, 67.11, -41.12)
CIE-LCHlch(48.50, 78.71, 328.50°)
OKLaboklab(58.5% 0.1885 -0.1137)
OKLCHoklch(58.5% 0.22 328.9)
XYZxyz(31.2631, 17.1946, 48.1171)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38BA #38BD3B
analogous
#7D38BD #BD38BA #BD3878
triadic
#BD38BA #BABD38 #38BABD
tetradic
#BD38BA #BD7D38 #38BD3B #3878BD
square
#BD38BA #BD7D38 #38BD3B #3878BD
split-complementary
#BD38BA #78BD38 #38BD7D
monochromatic
#5F1C5D #8E2A8C #BD38BA #D062CE #DE91DD

Accessibility & contrast

On white

4.73
#BD38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BD38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38BA#FFFFFF#000000##FFFFFF
##BD38BA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#C34A75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd38ba;
/* rgb */ color: rgb(189, 56, 186);
/* oklch */ color: oklch(58.5% 0.220 328.9);
Tailwind
colors: {
  custom: {
    50: '#d57bcf',
    500: '#bd38ba',
    950: '#000000',
  },
}
SCSS
$custom: #bd38ba;
$custom-light: #d57bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38ba",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 301.353,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.22012,
    "h": 328.9
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#BD38BA
secondary
#87C989
accent
#DE4D4A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BD38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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