#A24ECE#A24ECE

#A24ECE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.4% C 0.198 H 312.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A24ECE
RGBrgb(162, 78, 206)
HSLhsl(279, 57%, 56%)
HSVhsv(279, 62%, 81%)
CMYKcmyk(21.4%, 62.1%, 0%, 19.2%)
CIE-LABlab(48.99, 55.55, -52.15)
CIE-LCHlch(48.99, 76.20, 316.81°)
OKLaboklab(58.42% 0.1326 -0.1467)
OKLCHoklch(58.42% 0.198 312.1)
XYZxyz(28.7633, 17.5871, 60.2600)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ECE #7ACE4E
analogous
#624ECE #A24ECE #CE4EBA
triadic
#A24ECE #CEA24E #4ECEA2
tetradic
#A24ECE #CE624E #7ACE4E #4EBACE
square
#A24ECE #CE624E #7ACE4E #4EBACE
split-complementary
#A24ECE #BACE4E #4ECE62
monochromatic
#5F237F #8330AE #A24ECE #BB7EDB #D4AEE9

Accessibility & contrast

On white

4.65
#A24ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A24ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24ECE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24ECE#FFFFFF#000000##FFFFFF
##A24ECE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#9D6687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a24ece;
/* rgb */ color: rgb(162, 78, 206);
/* oklch */ color: oklch(58.4% 0.198 312.1);
Tailwind
colors: {
  custom: {
    50: '#c184de',
    500: '#a24ece',
    950: '#000000',
  },
}
SCSS
$custom: #a24ece;
$custom-light: #c184de;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ece",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 279.375,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.19773,
    "h": 312.1
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#A24ECE
secondary
#B4D7A1
accent
#E0487C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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