#A24FA2#A24FA2

#A24FA2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.1% C 0.152 H 327.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A24FA2
RGBrgb(162, 79, 162)
HSLhsl(300, 34%, 47%)
HSVhsv(300, 51%, 64%)
CMYKcmyk(0%, 51.2%, 0%, 36.5%)
CIE-LABlab(46.82, 46.20, -29.94)
CIE-LCHlch(46.82, 55.05, 327.06°)
OKLaboklab(56.07% 0.1284 -0.0822)
OKLCHoklch(56.07% 0.152 327.4)
XYZxyz(24.2175, 15.8833, 35.9656)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FA2 #4FA24F
analogous
#794FA2 #A24FA2 #A24F79
triadic
#A24FA2 #A2A24F #4FA2A2
tetradic
#A24FA2 #A2794F #4FA24F #4F79A2
square
#A24FA2 #A2794F #4FA24F #4F79A2
split-complementary
#A24FA2 #79A24F #4FA279
monochromatic
#502750 #793B79 #A24FA2 #BB73BB #CF9CCF

Accessibility & contrast

On white

5.03
#A24FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A24FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FA2#FFFFFF#000000##FFFFFF
##A24FA21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#A65871
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a24fa2;
/* rgb */ color: rgb(162, 79, 162);
/* oklch */ color: oklch(56.1% 0.152 327.4);
Tailwind
colors: {
  custom: {
    50: '#c084be',
    500: '#a24fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a24fa2;
$custom-light: #c084be;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fa2",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.15246,
    "h": 327.4
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#A24FA2
secondary
#91BC91
accent
#CB5D5D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A24FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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