#BD38AF#BD38AF

#BD38AF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.212 H 332.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BD38AF
RGBrgb(189, 56, 175)
HSLhsl(306, 54%, 48%)
HSVhsv(306, 70%, 74%)
CMYKcmyk(0%, 70.4%, 7.4%, 25.9%)
CIE-LABlab(47.94, 65.37, -35.58)
CIE-LCHlch(47.94, 74.42, 331.44°)
OKLaboklab(57.91% 0.188 -0.0976)
OKLCHoklch(57.91% 0.212 332.6)
XYZxyz(30.1384, 16.7448, 42.1939)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38AF #38BD46
analogous
#8838BD #BD38AF #BD386C
triadic
#BD38AF #AFBD38 #38AFBD
tetradic
#BD38AF #BD8838 #38BD46 #386CBD
square
#BD38AF #BD8838 #38BD46 #386CBD
split-complementary
#BD38AF #6CBD38 #38BD88
monochromatic
#5F1C58 #8E2A83 #BD38AF #D062C5 #DE91D6

Accessibility & contrast

On white

4.83
#BD38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BD38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38AF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38AF#FFFFFF#000000##FFFFFF
##BD38AF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#C5456F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38af;
/* rgb */ color: rgb(189, 56, 175);
/* oklch */ color: oklch(57.9% 0.212 332.6);
Tailwind
colors: {
  custom: {
    50: '#d57bc7',
    500: '#bd38af',
    950: '#000000',
  },
}
SCSS
$custom: #bd38af;
$custom-light: #d57bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38af",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 306.316,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.21184,
    "h": 332.6
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#BD38AF
secondary
#87C98E
accent
#DE5A4A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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