#BD38B0#BD38B0

#BD38B0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.213 H 332.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BD38B0
RGBrgb(189, 56, 176)
HSLhsl(306, 54%, 48%)
HSVhsv(306, 70%, 74%)
CMYKcmyk(0%, 70.4%, 6.9%, 25.9%)
CIE-LABlab(47.99, 65.52, -36.09)
CIE-LCHlch(47.99, 74.80, 331.16°)
OKLaboklab(57.96% 0.1881 -0.0991)
OKLCHoklch(57.96% 0.213 332.2)
XYZxyz(30.2370, 16.7842, 42.7130)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38B0 #38BD45
analogous
#8838BD #BD38B0 #BD386D
triadic
#BD38B0 #B0BD38 #38B0BD
tetradic
#BD38B0 #BD8838 #38BD45 #386DBD
square
#BD38B0 #BD8838 #38BD45 #386DBD
split-complementary
#BD38B0 #6DBD38 #38BD88
monochromatic
#5F1C58 #8E2A84 #BD38B0 #D062C6 #DE91D7

Accessibility & contrast

On white

4.82
#BD38B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BD38B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD38B0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38B0#FFFFFF#000000##FFFFFF
##BD38B01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#C54670
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd38b0;
/* rgb */ color: rgb(189, 56, 176);
/* oklch */ color: oklch(58.0% 0.213 332.2);
Tailwind
colors: {
  custom: {
    50: '#d57bc8',
    500: '#bd38b0',
    950: '#000000',
  },
}
SCSS
$custom: #bd38b0;
$custom-light: #d57bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38b0",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 305.865,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.21259,
    "h": 332.2
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#BD38B0
secondary
#87C98E
accent
#DE594A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD38B0

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

Preview Lab → · Contrast checker → · Palette generator →

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