#A24AAA#A24AAA

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

Color values

HEX#A24AAA
RGBrgb(162, 74, 170)
HSLhsl(295, 39%, 48%)
HSVhsv(295, 56%, 67%)
CMYKcmyk(4.7%, 56.5%, 0%, 33.3%)
CIE-LABlab(46.29, 50.18, -35.51)
CIE-LCHlch(46.29, 61.47, 324.72°)
OKLaboklab(55.81% 0.1363 -0.0982)
OKLCHoklch(55.81% 0.168 324.2)
XYZxyz(24.6041, 15.4825, 39.7149)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24AAA #52AA4A
analogous
#724AAA #A24AAA #AA4A82
triadic
#A24AAA #AAA24A #4AAAA2
tetradic
#A24AAA #AA724A #52AA4A #4A82AA
square
#A24AAA #AA724A #52AA4A #4A82AA
split-complementary
#A24AAA #82AA4A #4AAA72
monochromatic
#512555 #79377F #A24AAA #BA70C1 #CF9BD3

Accessibility & contrast

On white

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

On black

4.10
#A24AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A24AAA#FFFFFF#000000##FFFFFF
##A24AAA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#A55773
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a24aaa;
/* rgb */ color: rgb(162, 74, 170);
/* oklch */ color: oklch(55.8% 0.168 324.2);
Tailwind
colors: {
  custom: {
    50: '#c081c3',
    500: '#a24aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a24aaa;
$custom-light: #c081c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a24aaa",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 295,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.16801,
    "h": 324.2
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#A24AAA
secondary
#94C090
accent
#CF5962
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A24AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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