#A24ABC#A24ABC

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

Color values

HEX#A24ABC
RGBrgb(162, 74, 188)
HSLhsl(286, 46%, 51%)
HSVhsv(286, 61%, 74%)
CMYKcmyk(13.8%, 60.6%, 0%, 26.3%)
CIE-LABlab(47.25, 53.70, -44.53)
CIE-LCHlch(47.25, 69.76, 320.34°)
OKLaboklab(56.82% 0.1374 -0.1244)
OKLCHoklch(56.82% 0.185 317.8)
XYZxyz(26.4249, 16.2108, 49.3043)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ABC #64BC4A
analogous
#694ABC #A24ABC #BC4A9D
triadic
#A24ABC #BCA24A #4ABCA2
tetradic
#A24ABC #BC694A #64BC4A #4A9DBC
square
#A24ABC #BC694A #64BC4A #4A9DBC
split-complementary
#A24ABC #9DBC4A #4ABC69
monochromatic
#572666 #7E3693 #A24ABC #B977CD #D0A3DD

Accessibility & contrast

On white

4.95
#A24ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A24ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24ABC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24ABC#FFFFFF#000000##FFFFFF
##A24ABC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#A15D7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24abc;
/* rgb */ color: rgb(162, 74, 188);
/* oklch */ color: oklch(56.8% 0.185 317.8);
Tailwind
colors: {
  custom: {
    50: '#c082d1',
    500: '#a24abc',
    950: '#000000',
  },
}
SCSS
$custom: #a24abc;
$custom-light: #c082d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a24abc",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 286.316,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.18538,
    "h": 317.8
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

primary
#A24ABC
secondary
#A3CA98
accent
#D65270
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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