#BD38D4#BD38D4

#BD38D4 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.241 H 321.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BD38D4
RGBrgb(189, 56, 212)
HSLhsl(291, 64%, 53%)
HSVhsv(291, 74%, 83%)
CMYKcmyk(10.8%, 73.6%, 0%, 16.9%)
CIE-LABlab(49.98, 71.52, -53.79)
CIE-LCHlch(49.98, 89.49, 323.05°)
OKLaboklab(60.03% 0.1878 -0.1506)
OKLCHoklch(60.03% 0.241 321.3)
XYZxyz(34.2828, 18.4025, 64.0209)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38D4 #4FD438
analogous
#6F38D4 #BD38D4 #D4389D
triadic
#BD38D4 #D4BD38 #38D4BD
tetradic
#BD38D4 #D46F38 #4FD438 #389DD4
square
#BD38D4 #D46F38 #4FD438 #389DD4
split-complementary
#BD38D4 #9DD438 #38D46F
monochromatic
#6A1A78 #9625AA #BD38D4 #CE6ADF #DE9DEA

Accessibility & contrast

On white

4.49
#BD38D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BD38D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38D4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38D4#FFFFFF#000000##000000
##BD38D41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#4B7CD0
Tritanopia (blue-blind)
#BF5684
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bd38d4;
/* rgb */ color: rgb(189, 56, 212);
/* oklch */ color: oklch(60.0% 0.241 321.3);
Tailwind
colors: {
  custom: {
    50: '#d57ce2',
    500: '#bd38d4',
    950: '#000000',
  },
}
SCSS
$custom: #bd38d4;
$custom-light: #d57ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38d4",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 291.154,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.24068,
    "h": 321.3
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#BD38D4
secondary
#9CD692
accent
#E74059
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BD38D4

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

Preview Lab → · Contrast checker → · Palette generator →

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