#BD28A9#BD28A9

#BD28A9 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.224 H 334.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BD28A9
RGBrgb(189, 40, 169)
HSLhsl(308, 65%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 78.8%, 10.6%, 25.9%)
CIE-LABlab(45.91, 69.38, -35.22)
CIE-LCHlch(45.91, 77.81, 333.09°)
OKLaboklab(56.35% 0.2021 -0.0965)
OKLCHoklch(56.35% 0.224 334.5)
XYZxyz(28.9068, 15.2036, 38.9406)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28A9 #28BD3C
analogous
#8728BD #BD28A9 #BD285E
triadic
#BD28A9 #A9BD28 #28A9BD
tetradic
#BD28A9 #BD8728 #28BD3C #285EBD
square
#BD28A9 #BD8728 #28BD3C #285EBD
split-complementary
#BD28A9 #5EBD28 #28BD87
monochromatic
#58134F #8A1D7C #BD28A9 #D94AC5 #E37CD5

Accessibility & contrast

On white

5.20
#BD28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BD28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28A9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28A9#FFFFFF#000000##FFFFFF
##BD28A91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#5F74A6
Tritanopia (blue-blind)
#C63768
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd28a9;
/* rgb */ color: rgb(189, 40, 169);
/* oklch */ color: oklch(56.4% 0.224 334.5);
Tailwind
colors: {
  custom: {
    50: '#d574c3',
    500: '#bd28a9',
    950: '#000000',
  },
}
SCSS
$custom: #bd28a9;
$custom-light: #d574c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28a9",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 308.054,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.22394,
    "h": 334.5
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#BD28A9
secondary
#75CB81
accent
#E85640
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BD28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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