#BD28BD#BD28BD

#BD28BD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.238 H 328.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BD28BD
RGBrgb(189, 40, 189)
HSLhsl(300, 65%, 45%)
HSVhsv(300, 79%, 74%)
CMYKcmyk(0%, 78.8%, 0%, 25.9%)
CIE-LABlab(46.99, 72.40, -45.28)
CIE-LCHlch(46.99, 85.39, 327.98°)
OKLaboklab(57.47% 0.2021 -0.1256)
OKLCHoklch(57.47% 0.238 328.1)
XYZxyz(30.9300, 16.0129, 49.5960)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28BD #28BD28
analogous
#7328BD #BD28BD #BD2873
triadic
#BD28BD #BDBD28 #28BDBD
tetradic
#BD28BD #BD7328 #28BD28 #2873BD
square
#BD28BD #BD7328 #28BD28 #2873BD
split-complementary
#BD28BD #73BD28 #28BD73
monochromatic
#581358 #8A1D8A #BD28BD #D94AD9 #E37CE3

Accessibility & contrast

On white

5.00
#BD28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BD28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28BD#FFFFFF#000000##FFFFFF
##BD28BD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#C34273
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd28bd;
/* rgb */ color: rgb(189, 40, 189);
/* oklch */ color: oklch(57.5% 0.238 328.1);
Tailwind
colors: {
  custom: {
    50: '#d575d1',
    500: '#bd28bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd28bd;
$custom-light: #d575d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28bd",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.238,
    "h": 328.1
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#BD28BD
secondary
#75CB75
accent
#E84040
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BD28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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