#BD28B6#BD28B6

#BD28B6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.1% C 0.233 H 330.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BD28B6
RGBrgb(189, 40, 182)
HSLhsl(303, 65%, 45%)
HSVhsv(303, 79%, 74%)
CMYKcmyk(0%, 78.8%, 3.7%, 25.9%)
CIE-LABlab(46.60, 71.32, -41.80)
CIE-LCHlch(46.60, 82.67, 329.62°)
OKLaboklab(57.07% 0.2023 -0.1155)
OKLCHoklch(57.07% 0.233 330.3)
XYZxyz(30.1885, 15.7162, 45.6905)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28B6 #28BD2F
analogous
#7A28BD #BD28B6 #BD286B
triadic
#BD28B6 #B6BD28 #28B6BD
tetradic
#BD28B6 #BD7A28 #28BD2F #286BBD
square
#BD28B6 #BD7A28 #28BD2F #286BBD
split-complementary
#BD28B6 #6BBD28 #28BD7A
monochromatic
#581355 #8A1D85 #BD28B6 #D94AD2 #E37CDE

Accessibility & contrast

On white

5.07
#BD28B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BD28B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28B6#FFFFFF#000000##FFFFFF
##BD28B61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BA
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#C43E6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd28b6;
/* rgb */ color: rgb(189, 40, 182);
/* oklch */ color: oklch(57.1% 0.233 330.3);
Tailwind
colors: {
  custom: {
    50: '#d574cc',
    500: '#bd28b6',
    950: '#000000',
  },
}
SCSS
$custom: #bd28b6;
$custom-light: #d574cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28b6",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 302.819,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.23298,
    "h": 330.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#BD28B6
secondary
#75CB79
accent
#E84840
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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