#BD28B0#BD28B0

#BD28B0 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 332.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BD28B0
RGBrgb(189, 40, 176)
HSLhsl(305, 65%, 45%)
HSVhsv(305, 79%, 74%)
CMYKcmyk(0%, 78.8%, 6.9%, 25.9%)
CIE-LABlab(46.28, 70.41, -38.79)
CIE-LCHlch(46.28, 80.39, 331.15°)
OKLaboklab(56.73% 0.2023 -0.1068)
OKLCHoklch(56.73% 0.229 332.2)
XYZxyz(29.5816, 15.4735, 42.4946)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28B0 #28BD35
analogous
#8028BD #BD28B0 #BD2865
triadic
#BD28B0 #B0BD28 #28B0BD
tetradic
#BD28B0 #BD8028 #28BD35 #2865BD
square
#BD28B0 #BD8028 #28BD35 #2865BD
split-complementary
#BD28B0 #65BD28 #28BD80
monochromatic
#581352 #8A1D81 #BD28B0 #D94ACC #E37CDA

Accessibility & contrast

On white

5.13
#BD28B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BD28B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28B0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28B0#FFFFFF#000000##FFFFFF
##BD28B01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B4
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#C53B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd28b0;
/* rgb */ color: rgb(189, 40, 176);
/* oklch */ color: oklch(56.7% 0.229 332.2);
Tailwind
colors: {
  custom: {
    50: '#d574c8',
    500: '#bd28b0',
    950: '#000000',
  },
}
SCSS
$custom: #bd28b0;
$custom-light: #d574c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28b0",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 305.235,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.22876,
    "h": 332.2
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#BD28B0
secondary
#75CB7D
accent
#E84E40
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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