#A24EC7#A24EC7

#A24EC7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.191 H 314.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A24EC7
RGBrgb(162, 78, 199)
HSLhsl(282, 52%, 54%)
HSVhsv(282, 61%, 78%)
CMYKcmyk(18.6%, 60.8%, 0%, 22%)
CIE-LABlab(48.58, 54.06, -48.78)
CIE-LCHlch(48.58, 72.82, 317.94°)
OKLaboklab(57.99% 0.1326 -0.1369)
OKLCHoklch(57.99% 0.191 314.1)
XYZxyz(27.9318, 17.2545, 55.8808)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24EC7 #73C74E
analogous
#664EC7 #A24EC7 #C74EB0
triadic
#A24EC7 #C7A24E #4EC7A2
tetradic
#A24EC7 #C7664E #73C74E #4EB0C7
square
#A24EC7 #C7664E #73C74E #4EB0C7
split-complementary
#A24EC7 #B0C74E #4EC766
monochromatic
#5D2575 #8234A4 #A24EC7 #BA7CD6 #D3ABE4

Accessibility & contrast

On white

4.72
#A24EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A24EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24EC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24EC7#FFFFFF#000000##FFFFFF
##A24EC71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#9F6483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a24ec7;
/* rgb */ color: rgb(162, 78, 199);
/* oklch */ color: oklch(58.0% 0.191 314.1);
Tailwind
colors: {
  custom: {
    50: '#c184d8',
    500: '#a24ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a24ec7;
$custom-light: #c184d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ec7",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 281.653,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.19058,
    "h": 314.1
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#A24EC7
secondary
#AED29F
accent
#DB4C78
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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