#A24CA2#A24CA2

#A24CA2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.157 H 327.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A24CA2
RGBrgb(162, 76, 162)
HSLhsl(300, 36%, 47%)
HSVhsv(300, 53%, 64%)
CMYKcmyk(0%, 53.1%, 0%, 36.5%)
CIE-LABlab(46.26, 47.70, -30.82)
CIE-LCHlch(46.26, 56.79, 327.13°)
OKLaboklab(55.66% 0.1326 -0.0847)
OKLCHoklch(55.66% 0.157 327.4)
XYZxyz(24.0059, 15.4603, 35.8951)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CA2 #4CA24C
analogous
#774CA2 #A24CA2 #A24C77
triadic
#A24CA2 #A2A24C #4CA2A2
tetradic
#A24CA2 #A2774C #4CA24C #4C77A2
square
#A24CA2 #A2774C #4CA24C #4C77A2
split-complementary
#A24CA2 #77A24C #4CA277
monochromatic
#4F254F #783878 #A24CA2 #BC70BC #CF99CF

Accessibility & contrast

On white

5.13
#A24CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A24CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CA2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CA2#FFFFFF#000000##FFFFFF
##A24CA21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#5E729F
Tritanopia (blue-blind)
#A65670
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a24ca2;
/* rgb */ color: rgb(162, 76, 162);
/* oklch */ color: oklch(55.7% 0.157 327.4);
Tailwind
colors: {
  custom: {
    50: '#c082be',
    500: '#a24ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ca2;
$custom-light: #c082be;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ca2",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.15737,
    "h": 327.4
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#A24CA2
secondary
#8EBC8E
accent
#CC5C5C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A24CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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