#B24CD9#B24CD9

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

Color values

HEX#B24CD9
RGBrgb(178, 76, 217)
HSLhsl(283, 65%, 57%)
HSVhsv(283, 65%, 85%)
CMYKcmyk(18%, 65%, 0%, 14.9%)
CIE-LABlab(51.43, 62.41, -54.41)
CIE-LCHlch(51.43, 82.80, 318.92°)
OKLaboklab(60.84% 0.1543 -0.1528)
OKLCHoklch(60.84% 0.217 315.3)
XYZxyz(33.4669, 19.6448, 67.6611)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CD9 #73D94C
analogous
#6B4CD9 #B24CD9 #D94CBA
triadic
#B24CD9 #D9B24C #4CD9B2
tetradic
#B24CD9 #D96B4C #73D94C #4CBAD9
square
#B24CD9 #D96B4C #73D94C #4CBAD9
split-complementary
#B24CD9 #BAD94C #4CD96B
monochromatic
#6E1E8D #9629BF #B24CD9 #C87EE4 #DDB1EE

Accessibility & contrast

On white

4.26
#B24CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B24CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CD9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CD9#FFFFFF#000000##000000
##B24CD91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0675DD
Deuteranopia (green-blind)
#4A7DD6
Tritanopia (blue-blind)
#AF678C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24cd9;
/* rgb */ color: rgb(178, 76, 217);
/* oklch */ color: oklch(60.8% 0.217 315.3);
Tailwind
colors: {
  custom: {
    50: '#cd85e5',
    500: '#b24cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b24cd9;
$custom-light: #cd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cd9",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 283.404,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.21717,
    "h": 315.3
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

primary
#B24CD9
secondary
#B4DDA4
accent
#E8406E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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