#BD28A7#BD28A7

#BD28A7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 335.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BD28A7
RGBrgb(189, 40, 167)
HSLhsl(309, 65%, 45%)
HSVhsv(309, 79%, 74%)
CMYKcmyk(0%, 78.8%, 11.6%, 25.9%)
CIE-LABlab(45.81, 69.10, -34.19)
CIE-LCHlch(45.81, 77.09, 333.67°)
OKLaboklab(56.25% 0.202 -0.0935)
OKLCHoklch(56.25% 0.223 335.2)
XYZxyz(28.7205, 15.1291, 37.9593)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28A7 #28BD3E
analogous
#8928BD #BD28A7 #BD285D
triadic
#BD28A7 #A7BD28 #28A7BD
tetradic
#BD28A7 #BD8928 #28BD3E #285DBD
square
#BD28A7 #BD8928 #28BD3E #285DBD
split-complementary
#BD28A7 #5DBD28 #28BD89
monochromatic
#58134E #8A1D7A #BD28A7 #D94AC3 #E37CD4

Accessibility & contrast

On white

5.22
#BD28A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BD28A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28A7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28A7#FFFFFF#000000##FFFFFF
##BD28A71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#C73667
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd28a7;
/* rgb */ color: rgb(189, 40, 167);
/* oklch */ color: oklch(56.2% 0.223 335.2);
Tailwind
colors: {
  custom: {
    50: '#d574c1',
    500: '#bd28a7',
    950: '#000000',
  },
}
SCSS
$custom: #bd28a7;
$custom-light: #d574c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28a7",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 308.859,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.22259,
    "h": 335.2
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#BD28A7
secondary
#75CB82
accent
#E85940
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD28A7

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

Preview Lab → · Contrast checker → · Palette generator →

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