#B24CC7#B24CC7

#B24CC7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.200 H 320.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B24CC7
RGBrgb(178, 76, 199)
HSLhsl(290, 52%, 54%)
HSVhsv(290, 62%, 78%)
CMYKcmyk(10.6%, 61.8%, 0%, 22%)
CIE-LABlab(50.40, 58.88, -45.75)
CIE-LCHlch(50.40, 74.56, 322.15°)
OKLaboklab(59.77% 0.1544 -0.1275)
OKLCHoklch(59.77% 0.2 320.4)
XYZxyz(31.2521, 18.7589, 55.9964)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CC7 #61C74C
analogous
#754CC7 #B24CC7 #C74C9F
triadic
#B24CC7 #C7B24C #4CC7B2
tetradic
#B24CC7 #C7754C #61C74C #4C9FC7
square
#B24CC7 #C7754C #61C74C #4C9FC7
split-complementary
#B24CC7 #9FC74C #4CC775
monochromatic
#672474 #9033A3 #B24CC7 #C67BD6 #DAA9E4

Accessibility & contrast

On white

4.42
#B24CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B24CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CC7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CC7#FFFFFF#000000##000000
##B24CC71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#B36083
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b24cc7;
/* rgb */ color: rgb(178, 76, 199);
/* oklch */ color: oklch(59.8% 0.200 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc84d8',
    500: '#b24cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b24cc7;
$custom-light: #cc84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cc7",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 289.756,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.20029,
    "h": 320.4
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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