#B24DBA#B24DBA

#B24DBA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.187 H 324.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B24DBA
RGBrgb(178, 77, 186)
HSLhsl(296, 44%, 52%)
HSVhsv(296, 59%, 73%)
CMYKcmyk(4.3%, 58.6%, 0%, 27.1%)
CIE-LABlab(49.88, 55.99, -39.06)
CIE-LCHlch(49.88, 68.27, 325.10°)
OKLaboklab(59.16% 0.1525 -0.1081)
OKLCHoklch(59.16% 0.187 324.7)
XYZxyz(29.8762, 18.3196, 48.4072)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DBA #55BA4D
analogous
#7C4DBA #B24DBA #BA4D8C
triadic
#B24DBA #BAB24D #4DBAB2
tetradic
#B24DBA #BA7C4D #55BA4D #4D8CBA
square
#B24DBA #BA7C4D #55BA4D #4D8CBA
split-complementary
#B24DBA #8CBA4D #4DBA7C
monochromatic
#612765 #8B3891 #B24DBA #C579CB #D8A5DC

Accessibility & contrast

On white

4.50
#B24DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B24DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DBA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DBA#FFFFFF#000000##000000
##B24DBA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#B65C7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24dba;
/* rgb */ color: rgb(178, 77, 186);
/* oklch */ color: oklch(59.2% 0.187 324.7);
Tailwind
colors: {
  custom: {
    50: '#cc84cf',
    500: '#b24dba',
    950: '#000000',
  },
}
SCSS
$custom: #b24dba;
$custom-light: #cc84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dba",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 295.596,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.18697,
    "h": 324.7
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#B24DBA
secondary
#9DC999
accent
#D4545D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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