#B24DBB#B24DBB

#B24DBB is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.188 H 324.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B24DBB
RGBrgb(178, 77, 187)
HSLhsl(295, 45%, 52%)
HSVhsv(295, 59%, 73%)
CMYKcmyk(4.8%, 58.8%, 0%, 26.7%)
CIE-LABlab(49.93, 56.18, -39.56)
CIE-LCHlch(49.93, 68.70, 324.85°)
OKLaboklab(59.22% 0.1526 -0.1096)
OKLCHoklch(59.22% 0.188 324.3)
XYZxyz(29.9828, 18.3622, 48.9691)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DBB #56BB4D
analogous
#7B4DBB #B24DBB #BB4D8D
triadic
#B24DBB #BBB24D #4DBBB2
tetradic
#B24DBB #BB7B4D #56BB4D #4D8DBB
square
#B24DBB #BB7B4D #56BB4D #4D8DBB
split-complementary
#B24DBB #8DBB4D #4DBB7B
monochromatic
#612766 #8B3893 #B24DBB #C579CC #D8A6DD

Accessibility & contrast

On white

4.49
#B24DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B24DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DBB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DBB#FFFFFF#000000##000000
##B24DBB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#B55C7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24dbb;
/* rgb */ color: rgb(178, 77, 187);
/* oklch */ color: oklch(59.2% 0.188 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc85d0',
    500: '#b24dbb',
    950: '#000000',
  },
}
SCSS
$custom: #b24dbb;
$custom-light: #cc85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dbb",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 295.091,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.18786,
    "h": 324.3
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#B24DBB
secondary
#9ECA9A
accent
#D4535E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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