#BD38DB#BD38DB

#BD38DB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.246 H 319.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BD38DB
RGBrgb(189, 56, 219)
HSLhsl(289, 69%, 54%)
HSVhsv(289, 74%, 86%)
CMYKcmyk(13.7%, 74.4%, 0%, 14.1%)
CIE-LABlab(50.41, 72.77, -57.10)
CIE-LCHlch(50.41, 92.50, 321.88°)
OKLaboklab(60.47% 0.1871 -0.1603)
OKLCHoklch(60.47% 0.246 319.4)
XYZxyz(35.1850, 18.7634, 68.7725)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38DB #56DB38
analogous
#6C38DB #BD38DB #DB38A8
triadic
#BD38DB #DBBD38 #38DBBD
tetradic
#BD38DB #DB6C38 #56DB38 #38A8DB
square
#BD38DB #DB6C38 #56DB38 #38A8DB
split-complementary
#BD38DB #A8DB38 #38DB6C
monochromatic
#6E1781 #9A21B5 #BD38DB #CE6CE4 #DFA0EE

Accessibility & contrast

On white

4.42
#BD38DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BD38DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38DB#FFFFFF#000000##000000
##BD38DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#BD5A88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bd38db;
/* rgb */ color: rgb(189, 56, 219);
/* oklch */ color: oklch(60.5% 0.246 319.4);
Tailwind
colors: {
  custom: {
    50: '#d57ce7',
    500: '#bd38db',
    950: '#000000',
  },
}
SCSS
$custom: #bd38db;
$custom-light: #d57ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38db",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 288.957,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.24637,
    "h": 319.4
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#BD38DB
secondary
#A1DA95
accent
#EC3C5C
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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