#B24DC7#B24DC7

#B24DC7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.199 H 320.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B24DC7
RGBrgb(178, 77, 199)
HSLhsl(290, 52%, 54%)
HSVhsv(290, 61%, 78%)
CMYKcmyk(10.6%, 61.3%, 0%, 22%)
CIE-LABlab(50.57, 58.43, -45.49)
CIE-LCHlch(50.57, 74.05, 322.10°)
OKLaboklab(59.89% 0.1532 -0.1268)
OKLCHoklch(59.89% 0.199 320.4)
XYZxyz(31.3215, 18.8977, 56.0195)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DC7 #62C74D
analogous
#754DC7 #B24DC7 #C74D9F
triadic
#B24DC7 #C7B24D #4DC7B2
tetradic
#B24DC7 #C7754D #62C74D #4D9FC7
square
#B24DC7 #C7754D #62C74D #4D9FC7
split-complementary
#B24DC7 #9FC74D #4DC775
monochromatic
#672575 #9033A3 #B24DC7 #C67CD6 #DAAAE4

Accessibility & contrast

On white

4.39
#B24DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B24DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DC7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DC7#FFFFFF#000000##000000
##B24DC71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#B36183
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b24dc7;
/* rgb */ color: rgb(178, 77, 199);
/* oklch */ color: oklch(59.9% 0.199 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc85d8',
    500: '#b24dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b24dc7;
$custom-light: #cc85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dc7",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 289.672,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.19888,
    "h": 320.4
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#B24DC7
secondary
#A7D29E
accent
#DC4C65
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B24DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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