#A24EC2#A24EC2

#A24EC2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.185 H 315.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A24EC2
RGBrgb(162, 78, 194)
HSLhsl(283, 49%, 53%)
HSVhsv(283, 60%, 76%)
CMYKcmyk(16.5%, 59.8%, 0%, 23.9%)
CIE-LABlab(48.29, 53.02, -46.35)
CIE-LCHlch(48.29, 70.42, 318.84°)
OKLaboklab(57.69% 0.1326 -0.1298)
OKLCHoklch(57.69% 0.185 315.6)
XYZxyz(27.3608, 17.0261, 52.8736)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EC2 #6EC24E
analogous
#684EC2 #A24EC2 #C24EA8
triadic
#A24EC2 #C2A24E #4EC2A2
tetradic
#A24EC2 #C2684E #6EC24E #4EA8C2
square
#A24EC2 #C2684E #6EC24E #4EA8C2
split-complementary
#A24EC2 #A8C24E #4EC268
monochromatic
#5B266F #80369D #A24EC2 #BA7CD2 #D2A9E1

Accessibility & contrast

On white

4.77
#A24EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A24EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24EC2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EC2#FFFFFF#000000##FFFFFF
##A24EC21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A06281
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24ec2;
/* rgb */ color: rgb(162, 78, 194);
/* oklch */ color: oklch(57.7% 0.185 315.6);
Tailwind
colors: {
  custom: {
    50: '#c084d5',
    500: '#a24ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ec2;
$custom-light: #c084d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ec2",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 283.448,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.18549,
    "h": 315.6
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#A24EC2
secondary
#ABCF9D
accent
#D85075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A24EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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