#B24CD1#B24CD1

#B24CD1 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.210 H 317.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B24CD1
RGBrgb(178, 76, 209)
HSLhsl(286, 59%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(14.8%, 63.6%, 0%, 18%)
CIE-LABlab(50.97, 60.82, -50.59)
CIE-LCHlch(50.97, 79.11, 320.25°)
OKLaboklab(60.36% 0.1545 -0.1417)
OKLCHoklch(60.36% 0.21 317.5)
XYZxyz(32.4515, 19.2386, 62.3133)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD1 #6BD14C
analogous
#6F4CD1 #B24CD1 #D14CAD
triadic
#B24CD1 #D1B24C #4CD1B2
tetradic
#B24CD1 #D16F4C #6BD14C #4CADD1
square
#B24CD1 #D16F4C #6BD14C #4CADD1
split-complementary
#B24CD1 #ADD14C #4CD16F
monochromatic
#6B2181 #932EB2 #B24CD1 #C77DDE #DCADEA

Accessibility & contrast

On white

4.33
#B24CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B24CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD1#FFFFFF#000000##000000
##B24CD11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D5
Deuteranopia (green-blind)
#507DCE
Tritanopia (blue-blind)
#B16488
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b24cd1;
/* rgb */ color: rgb(178, 76, 209);
/* oklch */ color: oklch(60.4% 0.210 317.5);
Tailwind
colors: {
  custom: {
    50: '#cc85e0',
    500: '#b24cd1',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd1;
$custom-light: #cc85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd1",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 286.015,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.20962,
    "h": 317.5
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#B24CD1
secondary
#AED8A1
accent
#E2466A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B24CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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