#A24ECC#A24ECC

#A24ECC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.196 H 312.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A24ECC
RGBrgb(162, 78, 204)
HSLhsl(280, 55%, 55%)
HSVhsv(280, 62%, 80%)
CMYKcmyk(20.6%, 61.8%, 0%, 20%)
CIE-LABlab(48.87, 55.12, -51.19)
CIE-LCHlch(48.87, 75.23, 317.12°)
OKLaboklab(58.3% 0.1326 -0.1439)
OKLCHoklch(58.3% 0.196 312.7)
XYZxyz(28.5218, 17.4906, 58.9886)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ECC #78CC4E
analogous
#634ECC #A24ECC #CC4EB7
triadic
#A24ECC #CCA24E #4ECCA2
tetradic
#A24ECC #CC634E #78CC4E #4EB7CC
square
#A24ECC #CC634E #78CC4E #4EB7CC
split-complementary
#A24ECC #B7CC4E #4ECC63
monochromatic
#5E247C #8331AB #A24ECC #BB7EDA #D4ADE7

Accessibility & contrast

On white

4.67
#A24ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A24ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24ECC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24ECC#FFFFFF#000000##FFFFFF
##A24ECC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#9E6686
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24ecc;
/* rgb */ color: rgb(162, 78, 204);
/* oklch */ color: oklch(58.3% 0.196 312.7);
Tailwind
colors: {
  custom: {
    50: '#c184dc',
    500: '#a24ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a24ecc;
$custom-light: #c184dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ecc",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 280,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.19569,
    "h": 312.7
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#A24ECC
secondary
#B2D5A1
accent
#DF497B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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