#BD24A7#BD24A7

#BD24A7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.226 H 335.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BD24A7
RGBrgb(189, 36, 167)
HSLhsl(309, 68%, 44%)
HSVhsv(309, 81%, 74%)
CMYKcmyk(0%, 81%, 11.6%, 25.9%)
CIE-LABlab(45.46, 70.11, -34.74)
CIE-LCHlch(45.46, 78.25, 333.64°)
OKLaboklab(56% 0.205 -0.0951)
OKLCHoklch(56% 0.226 335.1)
XYZxyz(28.5926, 14.8732, 37.9167)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD24A7 #24BD3A
analogous
#8624BD #BD24A7 #BD245B
triadic
#BD24A7 #A7BD24 #24A7BD
tetradic
#BD24A7 #BD8624 #24BD3A #245BBD
square
#BD24A7 #BD8624 #24BD3A #245BBD
split-complementary
#BD24A7 #5BBD24 #24BD86
monochromatic
#56104C #8A1A7A #BD24A7 #DB43C5 #E576D5

Accessibility & contrast

On white

5.28
#BD24A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BD24A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD24A7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD24A7#FFFFFF#000000##FFFFFF
##BD24A71.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DAA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#C73366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd24a7;
/* rgb */ color: rgb(189, 36, 167);
/* oklch */ color: oklch(56.0% 0.226 335.1);
Tailwind
colors: {
  custom: {
    50: '#d573c1',
    500: '#bd24a7',
    950: '#000000',
  },
}
SCSS
$custom: #bd24a7;
$custom-light: #d573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd24a7",
  "rgb": {
    "r": 189,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 308.627,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.22597,
    "h": 335.1
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#BD24A7
secondary
#70CC7E
accent
#EB563D
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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