#BD28A5#BD28A5

#BD28A5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.221 H 335.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BD28A5
RGBrgb(189, 40, 165)
HSLhsl(310, 65%, 45%)
HSVhsv(310, 79%, 74%)
CMYKcmyk(0%, 78.8%, 12.7%, 25.9%)
CIE-LABlab(45.71, 68.81, -33.16)
CIE-LCHlch(45.71, 76.39, 334.27°)
OKLaboklab(56.14% 0.2019 -0.0906)
OKLCHoklch(56.14% 0.221 335.8)
XYZxyz(28.5371, 15.0557, 36.9931)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28A5 #28BD40
analogous
#8A28BD #BD28A5 #BD285B
triadic
#BD28A5 #A5BD28 #28A5BD
tetradic
#BD28A5 #BD8A28 #28BD40 #285BBD
square
#BD28A5 #BD8A28 #28BD40 #285BBD
split-complementary
#BD28A5 #5BBD28 #28BD8A
monochromatic
#58134D #8A1D79 #BD28A5 #D94AC2 #E37CD3

Accessibility & contrast

On white

5.24
#BD28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BD28A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28A5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28A5#FFFFFF#000000##FFFFFF
##BD28A51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#C73565
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd28a5;
/* rgb */ color: rgb(189, 40, 165);
/* oklch */ color: oklch(56.1% 0.221 335.8);
Tailwind
colors: {
  custom: {
    50: '#d574c0',
    500: '#bd28a5',
    950: '#000000',
  },
}
SCSS
$custom: #bd28a5;
$custom-light: #d574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28a5",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 309.664,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.22125,
    "h": 335.8
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#BD28A5
secondary
#75CB83
accent
#E85B40
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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