#A24AE2#A24AE2

#A24AE2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.223 H 307.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A24AE2
RGBrgb(162, 74, 226)
HSLhsl(275, 72%, 59%)
HSVhsv(275, 67%, 89%)
CMYKcmyk(28.3%, 67.3%, 0%, 11.4%)
CIE-LABlab(49.58, 61.77, -62.60)
CIE-LCHlch(49.58, 87.94, 314.62°)
OKLaboklab(59.25% 0.1358 -0.1774)
OKLCHoklch(59.25% 0.223 307.4)
XYZxyz(31.0737, 18.0703, 73.7877)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24AE2 #8AE24A
analogous
#564AE2 #A24AE2 #E24AD6
triadic
#A24AE2 #E2A24A #4AE2A2
tetradic
#A24AE2 #E2564A #8AE24A #4AD6E2
square
#A24AE2 #E2564A #8AE24A #4AD6E2
split-complementary
#A24AE2 #D6E24A #4AE256
monochromatic
#631999 #8521CE #A24AE2 #BD7FEA #D8B3F3

Accessibility & contrast

On white

4.55
#A24AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A24AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24AE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24AE2#FFFFFF#000000##000000
##A24AE21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2577DF
Tritanopia (blue-blind)
#986B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a24ae2;
/* rgb */ color: rgb(162, 74, 226);
/* oklch */ color: oklch(59.3% 0.223 307.4);
Tailwind
colors: {
  custom: {
    50: '#c283ec',
    500: '#a24ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a24ae2;
$custom-light: #c283ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ae2",
  "rgb": {
    "r": 162,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 274.737,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.22336,
    "h": 307.4
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#A24AE2
secondary
#BFE2A6
accent
#EF3986
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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