#BD28B3#BD28B3

#BD28B3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.231 H 331.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BD28B3
RGBrgb(189, 40, 179)
HSLhsl(304, 65%, 45%)
HSVhsv(304, 79%, 74%)
CMYKcmyk(0%, 78.8%, 5.3%, 25.9%)
CIE-LABlab(46.44, 70.86, -40.30)
CIE-LCHlch(46.44, 81.52, 330.37°)
OKLaboklab(56.9% 0.2023 -0.1112)
OKLCHoklch(56.9% 0.231 331.2)
XYZxyz(29.8817, 15.5936, 44.0751)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28B3 #28BD32
analogous
#7D28BD #BD28B3 #BD2868
triadic
#BD28B3 #B3BD28 #28B3BD
tetradic
#BD28B3 #BD7D28 #28BD32 #2868BD
square
#BD28B3 #BD7D28 #28BD32 #2868BD
split-complementary
#BD28B3 #68BD28 #28BD7D
monochromatic
#581353 #8A1D83 #BD28B3 #D94ACF #E37CDC

Accessibility & contrast

On white

5.10
#BD28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BD28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28B3#FFFFFF#000000##FFFFFF
##BD28B31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B7
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#C53D6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd28b3;
/* rgb */ color: rgb(189, 40, 179);
/* oklch */ color: oklch(56.9% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#d574ca',
    500: '#bd28b3',
    950: '#000000',
  },
}
SCSS
$custom: #bd28b3;
$custom-light: #d574ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28b3",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 304.027,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.23086,
    "h": 331.2
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#BD28B3
secondary
#75CB7B
accent
#E84B40
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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