#A24EA2#A24EA2

#A24EA2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.154 H 327.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A24EA2
RGBrgb(162, 78, 162)
HSLhsl(300, 35%, 47%)
HSVhsv(300, 52%, 64%)
CMYKcmyk(0%, 51.9%, 0%, 36.5%)
CIE-LABlab(46.63, 46.70, -30.24)
CIE-LCHlch(46.63, 55.64, 327.08°)
OKLaboklab(55.93% 0.1298 -0.083)
OKLCHoklch(55.93% 0.154 327.4)
XYZxyz(24.1459, 15.7402, 35.9417)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EA2 #4EA24E
analogous
#784EA2 #A24EA2 #A24E78
triadic
#A24EA2 #A2A24E #4EA2A2
tetradic
#A24EA2 #A2784E #4EA24E #4E78A2
square
#A24EA2 #A2784E #4EA24E #4E78A2
split-complementary
#A24EA2 #78A24E #4EA278
monochromatic
#4F264F #793A79 #A24EA2 #BB72BB #CF9BCF

Accessibility & contrast

On white

5.06
#A24EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A24EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24EA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EA2#FFFFFF#000000##FFFFFF
##A24EA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#A65771
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a24ea2;
/* rgb */ color: rgb(162, 78, 162);
/* oklch */ color: oklch(55.9% 0.154 327.4);
Tailwind
colors: {
  custom: {
    50: '#c083be',
    500: '#a24ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ea2;
$custom-light: #c083be;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ea2",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.15411,
    "h": 327.4
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#A24EA2
secondary
#90BC90
accent
#CB5D5D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A24EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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