#BD38C1#BD38C1

#BD38C1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.226 H 326.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BD38C1
RGBrgb(189, 56, 193)
HSLhsl(298, 55%, 49%)
HSVhsv(298, 71%, 76%)
CMYKcmyk(2.1%, 71%, 0%, 24.3%)
CIE-LABlab(48.88, 68.26, -44.60)
CIE-LCHlch(48.88, 81.53, 326.84°)
OKLaboklab(58.89% 0.1886 -0.1237)
OKLCHoklch(58.89% 0.226 326.7)
XYZxyz(32.0255, 17.4996, 52.1327)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38C1 #3CC138
analogous
#7938C1 #BD38C1 #C13881
triadic
#BD38C1 #C1BD38 #38C1BD
tetradic
#BD38C1 #C17938 #3CC138 #3881C1
square
#BD38C1 #C17938 #3CC138 #3881C1
split-complementary
#BD38C1 #81C138 #38C179
monochromatic
#601C62 #8F2A92 #BD38C1 #CF64D2 #DE94E0

Accessibility & contrast

On white

4.67
#BD38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BD38C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38C1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38C1#FFFFFF#000000##FFFFFF
##BD38C11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#C24E79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bd38c1;
/* rgb */ color: rgb(189, 56, 193);
/* oklch */ color: oklch(58.9% 0.226 326.7);
Tailwind
colors: {
  custom: {
    50: '#d57bd4',
    500: '#bd38c1',
    950: '#000000',
  },
}
SCSS
$custom: #bd38c1;
$custom-light: #d57bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38c1",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 298.248,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58893,
    "c": 0.22554,
    "h": 326.7
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#BD38C1
secondary
#8CCB8A
accent
#DE494E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BD38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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