#B24BD2#B24BD2

#B24BD2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.212 H 317.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B24BD2
RGBrgb(178, 75, 210)
HSLhsl(286, 60%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(15.2%, 64.3%, 0%, 17.6%)
CIE-LABlab(50.86, 61.46, -51.33)
CIE-LCHlch(50.86, 80.07, 320.13°)
OKLaboklab(60.3% 0.1556 -0.1438)
OKLCHoklch(60.3% 0.212 317.3)
XYZxyz(32.5073, 19.1516, 62.9446)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BD2 #6BD24B
analogous
#6E4BD2 #B24BD2 #D24BAE
triadic
#B24BD2 #D2B24B #4BD2B2
tetradic
#B24BD2 #D26E4B #6BD24B #4BAED2
square
#B24BD2 #D26E4B #6BD24B #4BAED2
split-complementary
#B24BD2 #AED24B #4BD26E
monochromatic
#6B2182 #932DB3 #B24BD2 #C77CDE #DCADEA

Accessibility & contrast

On white

4.35
#B24BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B24BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BD2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BD2#FFFFFF#000000##000000
##B24BD21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1973D6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#B16388
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b24bd2;
/* rgb */ color: rgb(178, 75, 210);
/* oklch */ color: oklch(60.3% 0.212 317.3);
Tailwind
colors: {
  custom: {
    50: '#cc84e0',
    500: '#b24bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b24bd2;
$custom-light: #cc84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bd2",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 285.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.603,
    "c": 0.21191,
    "h": 317.3
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#B24BD2
secondary
#AED8A0
accent
#E3456A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B24BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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