#BD28B5#BD28B5

#BD28B5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.232 H 330.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BD28B5
RGBrgb(189, 40, 181)
HSLhsl(303, 65%, 45%)
HSVhsv(303, 79%, 74%)
CMYKcmyk(0%, 78.8%, 4.2%, 25.9%)
CIE-LABlab(46.55, 71.16, -41.30)
CIE-LCHlch(46.55, 82.28, 329.87°)
OKLaboklab(57.01% 0.2023 -0.1141)
OKLCHoklch(57.01% 0.232 330.6)
XYZxyz(30.0855, 15.6750, 45.1481)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28B5 #28BD30
analogous
#7A28BD #BD28B5 #BD286B
triadic
#BD28B5 #B5BD28 #28B5BD
tetradic
#BD28B5 #BD7A28 #28BD30 #286BBD
square
#BD28B5 #BD7A28 #28BD30 #286BBD
split-complementary
#BD28B5 #6BBD28 #28BD7A
monochromatic
#581354 #8A1D85 #BD28B5 #D94AD1 #E37CDE

Accessibility & contrast

On white

5.08
#BD28B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BD28B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28B5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28B5#FFFFFF#000000##FFFFFF
##BD28B51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1061B9
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#C43E6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd28b5;
/* rgb */ color: rgb(189, 40, 181);
/* oklch */ color: oklch(57.0% 0.232 330.6);
Tailwind
colors: {
  custom: {
    50: '#d574cc',
    500: '#bd28b5',
    950: '#000000',
  },
}
SCSS
$custom: #bd28b5;
$custom-light: #d574cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28b5",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 303.221,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.23227,
    "h": 330.6
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#BD28B5
secondary
#75CB7A
accent
#E84940
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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