#A24ABB#A24ABB

#A24ABB is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.184 H 318.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A24ABB
RGBrgb(162, 74, 187)
HSLhsl(287, 45%, 51%)
HSVhsv(287, 60%, 73%)
CMYKcmyk(13.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(47.19, 53.50, -44.04)
CIE-LCHlch(47.19, 69.29, 320.54°)
OKLaboklab(56.76% 0.1374 -0.123)
OKLCHoklch(56.76% 0.184 318.2)
XYZxyz(26.3175, 16.1679, 48.7385)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ABB #63BB4A
analogous
#694ABB #A24ABB #BB4A9B
triadic
#A24ABB #BBA24A #4ABBA2
tetradic
#A24ABB #BB694A #63BB4A #4A9BBB
square
#A24ABB #BB694A #63BB4A #4A9BBB
split-complementary
#A24ABB #9BBB4A #4ABB69
monochromatic
#572665 #7D3791 #A24ABB #B976CC #D0A3DC

Accessibility & contrast

On white

4.96
#A24ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A24ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24ABB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24ABB#FFFFFF#000000##FFFFFF
##A24ABB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABF
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#A25D7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24abb;
/* rgb */ color: rgb(162, 74, 187);
/* oklch */ color: oklch(56.8% 0.184 318.2);
Tailwind
colors: {
  custom: {
    50: '#c081d0',
    500: '#a24abb',
    950: '#000000',
  },
}
SCSS
$custom: #a24abb;
$custom-light: #c081d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24abb",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 286.726,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.1844,
    "h": 318.2
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A24ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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