#B24CD5#B24CD5

#B24CD5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.213 H 316.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B24CD5
RGBrgb(178, 76, 213)
HSLhsl(285, 62%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(16.4%, 64.3%, 0%, 16.5%)
CIE-LABlab(51.20, 61.61, -52.51)
CIE-LCHlch(51.20, 80.95, 319.56°)
OKLaboklab(60.6% 0.1544 -0.1473)
OKLCHoklch(60.6% 0.213 316.4)
XYZxyz(32.9530, 19.4392, 64.9542)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD5 #6FD54C
analogous
#6E4CD5 #B24CD5 #D54CB3
triadic
#B24CD5 #D5B24C #4CD5B2
tetradic
#B24CD5 #D56E4C #6FD54C #4CB3D5
square
#B24CD5 #D56E4C #6FD54C #4CB3D5
split-complementary
#B24CD5 #B3D54C #4CD56E
monochromatic
#6D2087 #942BB9 #B24CD5 #C77EE1 #DDAFEC

Accessibility & contrast

On white

4.30
#B24CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B24CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD5#FFFFFF#000000##000000
##B24CD51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b24cd5;
/* rgb */ color: rgb(178, 76, 213);
/* oklch */ color: oklch(60.6% 0.213 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd85e2',
    500: '#b24cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd5;
$custom-light: #cd85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd5",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 284.672,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.21339,
    "h": 316.4
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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