#A24AA2#A24AA2

#A24AA2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.4% C 0.161 H 327.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A24AA2
RGBrgb(162, 74, 162)
HSLhsl(300, 37%, 46%)
HSVhsv(300, 54%, 64%)
CMYKcmyk(0%, 54.3%, 0%, 36.5%)
CIE-LABlab(45.89, 48.68, -31.39)
CIE-LCHlch(45.89, 57.93, 327.18°)
OKLaboklab(55.39% 0.1354 -0.0863)
OKLCHoklch(55.39% 0.161 327.5)
XYZxyz(23.8703, 15.1890, 35.8499)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24AA2 #4AA24A
analogous
#764AA2 #A24AA2 #A24A76
triadic
#A24AA2 #A2A24A #4AA2A2
tetradic
#A24AA2 #A2764A #4AA24A #4A76A2
square
#A24AA2 #A2764A #4AA24A #4A76A2
split-complementary
#A24AA2 #76A24A #4AA276
monochromatic
#4E244E #783778 #A24AA2 #BC6DBC #CF97CF

Accessibility & contrast

On white

5.20
#A24AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A24AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24AA2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24AA2#FFFFFF#000000##FFFFFF
##A24AA21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#A6546F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a24aa2;
/* rgb */ color: rgb(162, 74, 162);
/* oklch */ color: oklch(55.4% 0.161 327.5);
Tailwind
colors: {
  custom: {
    50: '#c081be',
    500: '#a24aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a24aa2;
$custom-light: #c081be;
$custom-dark: #000000;
JSON
{
  "hex": "#a24aa2",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.16058,
    "h": 327.5
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#A24AA2
secondary
#8CBC8C
accent
#CD5B5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A24AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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