#B24CD8#B24CD8

#B24CD8 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.216 H 315.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B24CD8
RGBrgb(178, 76, 216)
HSLhsl(284, 64%, 57%)
HSVhsv(284, 65%, 85%)
CMYKcmyk(17.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(51.37, 62.21, -53.93)
CIE-LCHlch(51.37, 82.33, 319.08°)
OKLaboklab(60.78% 0.1543 -0.1514)
OKLCHoklch(60.78% 0.216 315.5)
XYZxyz(33.3373, 19.5929, 66.9782)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD8 #72D84C
analogous
#6C4CD8 #B24CD8 #D84CB8
triadic
#B24CD8 #D8B24C #4CD8B2
tetradic
#B24CD8 #D86C4C #72D84C #4CB8D8
square
#B24CD8 #D86C4C #72D84C #4CB8D8
split-complementary
#B24CD8 #B8D84C #4CD86C
monochromatic
#6E1E8B #9529BE #B24CD8 #C87EE3 #DDB1EE

Accessibility & contrast

On white

4.27
#B24CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B24CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD8#FFFFFF#000000##000000
##B24CD81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B74DC
Deuteranopia (green-blind)
#4A7DD5
Tritanopia (blue-blind)
#AF668C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b24cd8;
/* rgb */ color: rgb(178, 76, 216);
/* oklch */ color: oklch(60.8% 0.216 315.5);
Tailwind
colors: {
  custom: {
    50: '#cd85e5',
    500: '#b24cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd8;
$custom-light: #cd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd8",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 283.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.21623,
    "h": 315.5
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#B24CD8
secondary
#B3DCA4
accent
#E7416E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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