#A24EC8#A24EC8

#A24EC8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.192 H 313.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A24EC8
RGBrgb(162, 78, 200)
HSLhsl(281, 53%, 55%)
HSVhsv(281, 61%, 78%)
CMYKcmyk(19%, 61%, 0%, 21.6%)
CIE-LABlab(48.64, 54.28, -49.27)
CIE-LCHlch(48.64, 73.30, 317.77°)
OKLaboklab(58.05% 0.1326 -0.1383)
OKLCHoklch(58.05% 0.192 313.8)
XYZxyz(28.0483, 17.3011, 56.4943)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EC8 #74C84E
analogous
#654EC8 #A24EC8 #C84EB1
triadic
#A24EC8 #C8A24E #4EC8A2
tetradic
#A24EC8 #C8654E #74C84E #4EB1C8
square
#A24EC8 #C8654E #74C84E #4EB1C8
split-complementary
#A24EC8 #B1C84E #4EC865
monochromatic
#5D2577 #8233A5 #A24EC8 #BB7DD7 #D3ABE5

Accessibility & contrast

On white

4.71
#A24EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A24EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24EC8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EC8#FFFFFF#000000##FFFFFF
##A24EC81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#9F6484
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24ec8;
/* rgb */ color: rgb(162, 78, 200);
/* oklch */ color: oklch(58.1% 0.192 313.8);
Tailwind
colors: {
  custom: {
    50: '#c184d9',
    500: '#a24ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a24ec8;
$custom-light: #c184d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ec8",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 281.311,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.1916,
    "h": 313.8
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#A24EC8
secondary
#AFD39F
accent
#DC4C79
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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