#BD38C3#BD38C3

#BD38C3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.227 H 326.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BD38C3
RGBrgb(189, 56, 195)
HSLhsl(297, 55%, 49%)
HSVhsv(297, 71%, 76%)
CMYKcmyk(3.1%, 71.3%, 0%, 23.5%)
CIE-LABlab(48.99, 68.59, -45.58)
CIE-LCHlch(48.99, 82.35, 326.40°)
OKLaboklab(59.01% 0.1885 -0.1266)
OKLCHoklch(59.01% 0.227 326.1)
XYZxyz(32.2501, 17.5895, 53.3156)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38C3 #3EC338
analogous
#7838C3 #BD38C3 #C33884
triadic
#BD38C3 #C3BD38 #38C3BD
tetradic
#BD38C3 #C37838 #3EC338 #3884C3
square
#BD38C3 #C37838 #3EC338 #3884C3
split-complementary
#BD38C3 #84C338 #38C378
monochromatic
#611D64 #8F2A93 #BD38C3 #CE65D3 #DD95E1

Accessibility & contrast

On white

4.65
#BD38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BD38C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38C3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38C3#FFFFFF#000000##FFFFFF
##BD38C31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC7
Deuteranopia (green-blind)
#587AC0
Tritanopia (blue-blind)
#C24F7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bd38c3;
/* rgb */ color: rgb(189, 56, 195);
/* oklch */ color: oklch(59.0% 0.227 326.1);
Tailwind
colors: {
  custom: {
    50: '#d57bd6',
    500: '#bd38c3',
    950: '#000000',
  },
}
SCSS
$custom: #bd38c3;
$custom-light: #d57bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38c3",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 297.41,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.22711,
    "h": 326.1
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#BD38C3
secondary
#8ECC8B
accent
#DF4950
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BD38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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