#BD38B4#BD38B4

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

Color values

HEX#BD38B4
RGBrgb(189, 56, 180)
HSLhsl(304, 54%, 48%)
HSVhsv(304, 70%, 74%)
CMYKcmyk(0%, 70.4%, 4.8%, 25.9%)
CIE-LABlab(48.19, 66.15, -38.11)
CIE-LCHlch(48.19, 76.34, 330.05°)
OKLaboklab(58.17% 0.1883 -0.105)
OKLCHoklch(58.17% 0.216 330.9)
XYZxyz(30.6386, 16.9448, 44.8282)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B4 #38BD41
analogous
#8338BD #BD38B4 #BD3871
triadic
#BD38B4 #B4BD38 #38B4BD
tetradic
#BD38B4 #BD8338 #38BD41 #3871BD
square
#BD38B4 #BD8338 #38BD41 #3871BD
split-complementary
#BD38B4 #71BD38 #38BD83
monochromatic
#5F1C5A #8E2A87 #BD38B4 #D062C9 #DE91D9

Accessibility & contrast

On white

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

On black

4.39
#BD38B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BD38B4#FFFFFF#000000##FFFFFF
##BD38B41.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B7
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#C44872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b4;
/* rgb */ color: rgb(189, 56, 180);
/* oklch */ color: oklch(58.2% 0.216 330.9);
Tailwind
colors: {
  custom: {
    50: '#d57bcb',
    500: '#bd38b4',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b4;
$custom-light: #d57bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b4",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 304.06,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.21557,
    "h": 330.9
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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