#B24BC7#B24BC7

#B24BC7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.202 H 320.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B24BC7
RGBrgb(178, 75, 199)
HSLhsl(290, 53%, 54%)
HSVhsv(290, 62%, 78%)
CMYKcmyk(10.6%, 62.3%, 0%, 22%)
CIE-LABlab(50.24, 59.33, -46.00)
CIE-LCHlch(50.24, 75.07, 322.21°)
OKLaboklab(59.65% 0.1556 -0.1283)
OKLCHoklch(59.65% 0.202 320.5)
XYZxyz(31.1838, 18.6221, 55.9736)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BC7 #60C74B
analogous
#744BC7 #B24BC7 #C74B9E
triadic
#B24BC7 #C7B24B #4BC7B2
tetradic
#B24BC7 #C7744B #60C74B #4B9EC7
square
#B24BC7 #C7744B #60C74B #4B9EC7
split-complementary
#B24BC7 #9EC74B #4BC774
monochromatic
#662474 #8F32A2 #B24BC7 #C67AD6 #DAA8E4

Accessibility & contrast

On white

4.45
#B24BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B24BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BC7#FFFFFF#000000##000000
##B24BC71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#B35F82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b24bc7;
/* rgb */ color: rgb(178, 75, 199);
/* oklch */ color: oklch(59.7% 0.202 320.5);
Tailwind
colors: {
  custom: {
    50: '#cc84d8',
    500: '#b24bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b24bc7;
$custom-light: #cc84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bc7",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 289.839,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.20168,
    "h": 320.5
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#B24BC7
secondary
#A5D19C
accent
#DC4C64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B24BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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