#BD38C4#BD38C4

#BD38C4 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.228 H 325.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BD38C4
RGBrgb(189, 56, 196)
HSLhsl(297, 56%, 49%)
HSVhsv(297, 71%, 77%)
CMYKcmyk(3.6%, 71.4%, 0%, 23.1%)
CIE-LABlab(49.05, 68.76, -46.07)
CIE-LCHlch(49.05, 82.77, 326.18°)
OKLaboklab(59.07% 0.1885 -0.128)
OKLCHoklch(59.07% 0.228 325.8)
XYZxyz(32.3636, 17.6348, 53.9131)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38C4 #3FC438
analogous
#7738C4 #BD38C4 #C43885
triadic
#BD38C4 #C4BD38 #38C4BD
tetradic
#BD38C4 #C47738 #3FC438 #3885C4
square
#BD38C4 #C47738 #3FC438 #3885C4
split-complementary
#BD38C4 #85C438 #38C477
monochromatic
#611D65 #8F2A94 #BD38C4 #CE66D3 #DD96E1

Accessibility & contrast

On white

4.64
#BD38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BD38C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38C4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38C4#FFFFFF#000000##FFFFFF
##BD38C41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#C24F7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bd38c4;
/* rgb */ color: rgb(189, 56, 196);
/* oklch */ color: oklch(59.1% 0.228 325.8);
Tailwind
colors: {
  custom: {
    50: '#d57bd6',
    500: '#bd38c4',
    950: '#000000',
  },
}
SCSS
$custom: #bd38c4;
$custom-light: #d57bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38c4",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 297,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.22789,
    "h": 325.8
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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