#A24CAC#A24CAC

#A24CAC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.167 H 323.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A24CAC
RGBrgb(162, 76, 172)
HSLhsl(294, 39%, 49%)
HSVhsv(294, 56%, 67%)
CMYKcmyk(5.8%, 55.8%, 0%, 32.5%)
CIE-LABlab(46.75, 49.58, -35.95)
CIE-LCHlch(46.75, 61.25, 324.05°)
OKLaboklab(56.18% 0.1338 -0.0995)
OKLCHoklch(56.18% 0.167 323.4)
XYZxyz(24.9304, 15.8301, 40.7641)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CAC #56AC4C
analogous
#724CAC #A24CAC #AC4C86
triadic
#A24CAC #ACA24C #4CACA2
tetradic
#A24CAC #AC724C #56AC4C #4C86AC
square
#A24CAC #AC724C #56AC4C #4C86AC
split-complementary
#A24CAC #86AC4C #4CAC72
monochromatic
#522657 #7A3982 #A24CAC #B974C1 #CF9ED4

Accessibility & contrast

On white

5.04
#A24CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A24CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CAC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CAC#FFFFFF#000000##FFFFFF
##A24CAC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#A55975
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a24cac;
/* rgb */ color: rgb(162, 76, 172);
/* oklch */ color: oklch(56.2% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#c082c5',
    500: '#a24cac',
    950: '#000000',
  },
}
SCSS
$custom: #a24cac;
$custom-light: #c082c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cac",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 293.75,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.16678,
    "h": 323.4
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#A24CAC
secondary
#98C193
accent
#CF5965
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A24CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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