#B24BD5#B24BD5

#B24BD5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.215 H 316.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B24BD5
RGBrgb(178, 75, 213)
HSLhsl(285, 62%, 56%)
HSVhsv(285, 65%, 84%)
CMYKcmyk(16.4%, 64.8%, 0%, 16.5%)
CIE-LABlab(51.04, 62.05, -52.76)
CIE-LCHlch(51.04, 81.45, 319.63°)
OKLaboklab(60.48% 0.1556 -0.148)
OKLCHoklch(60.48% 0.215 316.4)
XYZxyz(32.8846, 19.3025, 64.9314)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BD5 #6ED54B
analogous
#6D4BD5 #B24BD5 #D54BB3
triadic
#B24BD5 #D5B24B #4BD5B2
tetradic
#B24BD5 #D56D4B #6ED54B #4BB3D5
square
#B24BD5 #D56D4B #6ED54B #4BB3D5
split-complementary
#B24BD5 #B3D54B #4BD56D
monochromatic
#6C1F86 #942BB8 #B24BD5 #C77DE1 #DCAEEC

Accessibility & contrast

On white

4.32
#B24BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B24BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BD5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BD5#FFFFFF#000000##000000
##B24BD51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1173D9
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#B0658A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24bd5;
/* rgb */ color: rgb(178, 75, 213);
/* oklch */ color: oklch(60.5% 0.215 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd84e2',
    500: '#b24bd5',
    950: '#000000',
  },
}
SCSS
$custom: #b24bd5;
$custom-light: #cd84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bd5",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 284.783,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.21472,
    "h": 316.4
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#B24BD5
secondary
#B0DAA2
accent
#E5436C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B24BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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