#A24DC7#A24DC7

#A24DC7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.192 H 314.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A24DC7
RGBrgb(162, 77, 199)
HSLhsl(282, 52%, 54%)
HSVhsv(282, 61%, 78%)
CMYKcmyk(18.6%, 61.3%, 0%, 22%)
CIE-LABlab(48.40, 54.54, -49.07)
CIE-LCHlch(48.40, 73.37, 318.03°)
OKLaboklab(57.86% 0.1339 -0.1377)
OKLCHoklch(57.86% 0.192 314.2)
XYZxyz(27.8613, 17.1135, 55.8573)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24DC7 #72C74D
analogous
#654DC7 #A24DC7 #C74DAF
triadic
#A24DC7 #C7A24D #4DC7A2
tetradic
#A24DC7 #C7654D #72C74D #4DAFC7
square
#A24DC7 #C7654D #72C74D #4DAFC7
split-complementary
#A24DC7 #AFC74D #4DC765
monochromatic
#5D2575 #8133A3 #A24DC7 #BA7CD6 #D3AAE4

Accessibility & contrast

On white

4.75
#A24DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A24DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24DC7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24DC7#FFFFFF#000000##FFFFFF
##A24DC71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#9F6383
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24dc7;
/* rgb */ color: rgb(162, 77, 199);
/* oklch */ color: oklch(57.9% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#c184d8',
    500: '#a24dc7',
    950: '#000000',
  },
}
SCSS
$custom: #a24dc7;
$custom-light: #c184d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24dc7",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 281.803,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.19203,
    "h": 314.2
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#A24DC7
secondary
#AED29E
accent
#DC4C78
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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