#BD38B1#BD38B1

#BD38B1 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.213 H 331.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BD38B1
RGBrgb(189, 56, 177)
HSLhsl(305, 54%, 48%)
HSVhsv(305, 70%, 74%)
CMYKcmyk(0%, 70.4%, 6.3%, 25.9%)
CIE-LABlab(48.04, 65.68, -36.59)
CIE-LCHlch(48.04, 75.18, 330.87°)
OKLaboklab(58.01% 0.1881 -0.1006)
OKLCHoklch(58.01% 0.213 331.9)
XYZxyz(30.3363, 16.8239, 43.2360)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B1 #38BD44
analogous
#8738BD #BD38B1 #BD386E
triadic
#BD38B1 #B1BD38 #38B1BD
tetradic
#BD38B1 #BD8738 #38BD44 #386EBD
square
#BD38B1 #BD8738 #38BD44 #386EBD
split-complementary
#BD38B1 #6EBD38 #38BD87
monochromatic
#5F1C59 #8E2A85 #BD38B1 #D062C6 #DE91D7

Accessibility & contrast

On white

4.81
#BD38B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BD38B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B1#FFFFFF#000000##FFFFFF
##BD38B11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#C54670
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b1;
/* rgb */ color: rgb(189, 56, 177);
/* oklch */ color: oklch(58.0% 0.213 331.9);
Tailwind
colors: {
  custom: {
    50: '#d57bc9',
    500: '#bd38b1',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b1;
$custom-light: #d57bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b1",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 305.414,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.21332,
    "h": 331.9
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#BD38B1
secondary
#87C98D
accent
#DE574A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B1

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

Preview Lab → · Contrast checker → · Palette generator →

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