#B24CDE#B24CDE

#B24CDE is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.222 H 314.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B24CDE
RGBrgb(178, 76, 222)
HSLhsl(282, 69%, 58%)
HSVhsv(282, 66%, 87%)
CMYKcmyk(19.8%, 65.8%, 0%, 12.9%)
CIE-LABlab(51.73, 63.42, -56.76)
CIE-LCHlch(51.73, 85.11, 318.17°)
OKLaboklab(61.16% 0.1541 -0.1597)
OKLCHoklch(61.16% 0.222 314)
XYZxyz(34.1271, 19.9089, 71.1382)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CDE #78DE4C
analogous
#694CDE #B24CDE #DE4CC1
triadic
#B24CDE #DEB24C #4CDEB2
tetradic
#B24CDE #DE694C #78DE4C #4CC1DE
square
#B24CDE #DE694C #78DE4C #4CC1DE
split-complementary
#B24CDE #C1DE4C #4CDE69
monochromatic
#701B94 #9725C8 #B24CDE #C880E8 #DEB3F1

Accessibility & contrast

On white

4.22
#B24CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B24CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CDE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CDE#FFFFFF#000000##000000
##B24CDE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#457EDB
Tritanopia (blue-blind)
#AE698F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24cde;
/* rgb */ color: rgb(178, 76, 222);
/* oklch */ color: oklch(61.2% 0.222 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd85e9',
    500: '#b24cde',
    950: '#000000',
  },
}
SCSS
$custom: #b24cde;
$custom-light: #cd85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cde",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 281.918,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61155,
    "c": 0.22192,
    "h": 314
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#B24CDE
secondary
#B7E0A6
accent
#EC3C71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B24CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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