#A24DB9#A24DB9

#A24DB9 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.178 H 318.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A24DB9
RGBrgb(162, 77, 185)
HSLhsl(287, 44%, 51%)
HSVhsv(287, 58%, 73%)
CMYKcmyk(12.4%, 58.4%, 0%, 27.5%)
CIE-LABlab(47.61, 51.66, -42.20)
CIE-LCHlch(47.61, 66.71, 320.75°)
OKLaboklab(57.04% 0.1335 -0.1177)
OKLCHoklch(57.04% 0.178 318.6)
XYZxyz(26.3100, 16.4930, 47.6871)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DB9 #64B94D
analogous
#6C4DB9 #A24DB9 #B94D9A
triadic
#A24DB9 #B9A24D #4DB9A2
tetradic
#A24DB9 #B96C4D #64B94D #4D9AB9
square
#A24DB9 #B96C4D #64B94D #4D9AB9
split-complementary
#A24DB9 #9AB94D #4DB96C
monochromatic
#572764 #7E3990 #A24DB9 #B979CA #D0A5DC

Accessibility & contrast

On white

4.89
#A24DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A24DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DB9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DB9#FFFFFF#000000##FFFFFF
##A24DB91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBC
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#A25E7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24db9;
/* rgb */ color: rgb(162, 77, 185);
/* oklch */ color: oklch(57.0% 0.178 318.6);
Tailwind
colors: {
  custom: {
    50: '#c083ce',
    500: '#a24db9',
    950: '#000000',
  },
}
SCSS
$custom: #a24db9;
$custom-light: #c083ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a24db9",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 287.222,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.17795,
    "h": 318.6
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#A24DB9
secondary
#A3C999
accent
#D35570
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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