#B24CD2#B24CD2

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

Color values

HEX#B24CD2
RGBrgb(178, 76, 210)
HSLhsl(286, 60%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(15.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(51.02, 61.02, -51.07)
CIE-LCHlch(51.02, 79.57, 320.07°)
OKLaboklab(60.42% 0.1545 -0.1431)
OKLCHoklch(60.42% 0.211 317.2)
XYZxyz(32.5757, 19.2883, 62.9673)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD2 #6CD24C
analogous
#6F4CD2 #B24CD2 #D24CAF
triadic
#B24CD2 #D2B24C #4CD2B2
tetradic
#B24CD2 #D26F4C #6CD24C #4CAFD2
square
#B24CD2 #D26F4C #6CD24C #4CAFD2
split-complementary
#B24CD2 #AFD24C #4CD26F
monochromatic
#6B2183 #942DB4 #B24CD2 #C77DDE #DCAEEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24CD2#FFFFFF#000000##000000
##B24CD21.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)
#1C73D6
Deuteranopia (green-blind)
#4F7DCF
Tritanopia (blue-blind)
#B16488
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b24cd2;
/* rgb */ color: rgb(178, 76, 210);
/* oklch */ color: oklch(60.4% 0.211 317.2);
Tailwind
colors: {
  custom: {
    50: '#cc85e0',
    500: '#b24cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd2;
$custom-light: #cc85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd2",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 285.672,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.21056,
    "h": 317.2
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#B24CD2
secondary
#AED9A1
accent
#E3456B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B24CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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