#BD38D3#BD38D3

#BD38D3 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.240 H 321.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BD38D3
RGBrgb(189, 56, 211)
HSLhsl(291, 64%, 52%)
HSVhsv(291, 73%, 83%)
CMYKcmyk(10.4%, 73.5%, 0%, 17.3%)
CIE-LABlab(49.92, 71.34, -53.32)
CIE-LCHlch(49.92, 89.06, 323.23°)
OKLaboklab(59.97% 0.1878 -0.1492)
OKLCHoklch(59.97% 0.24 321.5)
XYZxyz(34.1570, 18.3522, 63.3586)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38D3 #4ED338
analogous
#7038D3 #BD38D3 #D3389B
triadic
#BD38D3 #D3BD38 #38D3BD
tetradic
#BD38D3 #D37038 #4ED338 #389BD3
square
#BD38D3 #D37038 #4ED338 #389BD3
split-complementary
#BD38D3 #9BD338 #38D370
monochromatic
#691A76 #9625A9 #BD38D3 #CE6ADE #DE9CE9

Accessibility & contrast

On white

4.50
#BD38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BD38D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38D3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38D3#FFFFFF#000000##000000
##BD38D31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#4C7CCF
Tritanopia (blue-blind)
#BF5683
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd38d3;
/* rgb */ color: rgb(189, 56, 211);
/* oklch */ color: oklch(60.0% 0.240 321.5);
Tailwind
colors: {
  custom: {
    50: '#d57ce1',
    500: '#bd38d3',
    950: '#000000',
  },
}
SCSS
$custom: #bd38d3;
$custom-light: #d57ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38d3",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 291.484,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.23987,
    "h": 321.5
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#BD38D3
secondary
#9BD592
accent
#E74159
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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