#B24DD9#B24DD9

#B24DD9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.216 H 315.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B24DD9
RGBrgb(178, 77, 217)
HSLhsl(283, 65%, 58%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18%, 64.5%, 0%, 14.9%)
CIE-LABlab(51.59, 61.97, -54.15)
CIE-LCHlch(51.59, 82.30, 318.85°)
OKLaboklab(60.96% 0.1532 -0.1521)
OKLCHoklch(60.96% 0.216 315.2)
XYZxyz(33.5364, 19.7836, 67.6842)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DD9 #74D94D
analogous
#6C4DD9 #B24DD9 #D94DBA
triadic
#B24DD9 #D9B24D #4DD9B2
tetradic
#B24DD9 #D96C4D #74D94D #4DBAD9
square
#B24DD9 #D96C4D #74D94D #4DBAD9
split-complementary
#B24DD9 #BAD94D #4DD96C
monochromatic
#6E1E8D #9629C0 #B24DD9 #C87FE4 #DEB2EF

Accessibility & contrast

On white

4.24
#B24DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B24DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DD9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DD9#FFFFFF#000000##000000
##B24DD91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C75DD
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#AF678C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24dd9;
/* rgb */ color: rgb(178, 77, 217);
/* oklch */ color: oklch(61.0% 0.216 315.2);
Tailwind
colors: {
  custom: {
    50: '#cd85e5',
    500: '#b24dd9',
    950: '#000000',
  },
}
SCSS
$custom: #b24dd9;
$custom-light: #cd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dd9",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 283.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.21586,
    "h": 315.2
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#B24DD9
secondary
#B4DDA5
accent
#E8406F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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