#BD38B2#BD38B2

#BD38B2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.214 H 331.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BD38B2
RGBrgb(189, 56, 178)
HSLhsl(305, 54%, 48%)
HSVhsv(305, 70%, 74%)
CMYKcmyk(0%, 70.4%, 5.8%, 25.9%)
CIE-LABlab(48.09, 65.83, -37.10)
CIE-LCHlch(48.09, 75.57, 330.60°)
OKLaboklab(58.06% 0.1882 -0.102)
OKLCHoklch(58.06% 0.214 331.5)
XYZxyz(30.4363, 16.8639, 43.7629)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B2 #38BD43
analogous
#8538BD #BD38B2 #BD3870
triadic
#BD38B2 #B2BD38 #38B2BD
tetradic
#BD38B2 #BD8538 #38BD43 #3870BD
square
#BD38B2 #BD8538 #38BD43 #3870BD
split-complementary
#BD38B2 #70BD38 #38BD85
monochromatic
#5F1C59 #8E2A86 #BD38B2 #D062C7 #DE91D8

Accessibility & contrast

On white

4.80
#BD38B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BD38B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B2#FFFFFF#000000##FFFFFF
##BD38B21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#C54771
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b2;
/* rgb */ color: rgb(189, 56, 178);
/* oklch */ color: oklch(58.1% 0.214 331.5);
Tailwind
colors: {
  custom: {
    50: '#d57bc9',
    500: '#bd38b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b2;
$custom-light: #d57bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b2",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 304.962,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.21407,
    "h": 331.5
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#BD38B2
secondary
#87C98D
accent
#DE564A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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