#B24CD3#B24CD3

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

Color values

HEX#B24CD3
RGBrgb(178, 76, 211)
HSLhsl(285, 61%, 56%)
HSVhsv(285, 64%, 83%)
CMYKcmyk(15.6%, 64%, 0%, 17.3%)
CIE-LABlab(51.08, 61.22, -51.55)
CIE-LCHlch(51.08, 80.03, 319.90°)
OKLaboklab(60.48% 0.1545 -0.1445)
OKLCHoklch(60.48% 0.212 316.9)
XYZxyz(32.7007, 19.3383, 63.6255)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD3 #6DD34C
analogous
#6F4CD3 #B24CD3 #D34CB1
triadic
#B24CD3 #D3B24C #4CD3B2
tetradic
#B24CD3 #D36F4C #6DD34C #4CB1D3
square
#B24CD3 #D36F4C #6DD34C #4CB1D3
split-complementary
#B24CD3 #B1D34C #4CD36F
monochromatic
#6C2084 #942DB5 #B24CD3 #C77DDF #DCAEEB

Accessibility & contrast

On white

4.31
#B24CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B24CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD3#FFFFFF#000000##000000
##B24CD31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A73D7
Deuteranopia (green-blind)
#4F7DD0
Tritanopia (blue-blind)
#B16489
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24cd3;
/* rgb */ color: rgb(178, 76, 211);
/* oklch */ color: oklch(60.5% 0.211 316.9);
Tailwind
colors: {
  custom: {
    50: '#cc85e1',
    500: '#b24cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd3;
$custom-light: #cc85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd3",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 285.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.2115,
    "h": 316.9
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#B24CD3
secondary
#AFD9A2
accent
#E4446B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B24CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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