#BD28A8#BD28A8

#BD28A8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.223 H 334.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BD28A8
RGBrgb(189, 40, 168)
HSLhsl(308, 65%, 45%)
HSVhsv(308, 79%, 74%)
CMYKcmyk(0%, 78.8%, 11.1%, 25.9%)
CIE-LABlab(45.86, 69.24, -34.71)
CIE-LCHlch(45.86, 77.45, 333.38°)
OKLaboklab(56.3% 0.202 -0.095)
OKLCHoklch(56.3% 0.223 334.8)
XYZxyz(28.8133, 15.1662, 38.4481)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28A8 #28BD3D
analogous
#8728BD #BD28A8 #BD285E
triadic
#BD28A8 #A8BD28 #28A8BD
tetradic
#BD28A8 #BD8728 #28BD3D #285EBD
square
#BD28A8 #BD8728 #28BD3D #285EBD
split-complementary
#BD28A8 #5EBD28 #28BD87
monochromatic
#58134E #8A1D7B #BD28A8 #D94AC4 #E37CD5

Accessibility & contrast

On white

5.21
#BD28A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD28A8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28A8#FFFFFF#000000##FFFFFF
##BD28A81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#6074A5
Tritanopia (blue-blind)
#C63767
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd28a8;
/* rgb */ color: rgb(189, 40, 168);
/* oklch */ color: oklch(56.3% 0.223 334.8);
Tailwind
colors: {
  custom: {
    50: '#d574c2',
    500: '#bd28a8',
    950: '#000000',
  },
}
SCSS
$custom: #bd28a8;
$custom-light: #d574c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28a8",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 308.456,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.563,
    "c": 0.22326,
    "h": 334.8
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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