#A24ABA#A24ABA

#A24ABA is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.183 H 318.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A24ABA
RGBrgb(162, 74, 186)
HSLhsl(287, 45%, 51%)
HSVhsv(287, 60%, 73%)
CMYKcmyk(12.9%, 60.2%, 0%, 27.1%)
CIE-LABlab(47.14, 53.30, -43.54)
CIE-LCHlch(47.14, 68.83, 320.75°)
OKLaboklab(56.71% 0.1374 -0.1215)
OKLCHoklch(56.71% 0.183 318.5)
XYZxyz(26.2108, 16.1252, 48.1767)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ABA #62BA4A
analogous
#6A4ABA #A24ABA #BA4A9A
triadic
#A24ABA #BAA24A #4ABAA2
tetradic
#A24ABA #BA6A4A #62BA4A #4A9ABA
square
#A24ABA #BA6A4A #62BA4A #4A9ABA
split-complementary
#A24ABA #9ABA4A #4ABA6A
monochromatic
#562664 #7D3790 #A24ABA #B976CB #D0A3DC

Accessibility & contrast

On white

4.97
#A24ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A24ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24ABA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24ABA#FFFFFF#000000##FFFFFF
##A24ABA1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABD
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#A25C7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24aba;
/* rgb */ color: rgb(162, 74, 186);
/* oklch */ color: oklch(56.7% 0.183 318.5);
Tailwind
colors: {
  custom: {
    50: '#c081cf',
    500: '#a24aba',
    950: '#000000',
  },
}
SCSS
$custom: #a24aba;
$custom-light: #c081cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a24aba",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 287.143,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.18341,
    "h": 318.5
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#A24ABA
secondary
#A2C997
accent
#D5536F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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