#A24BC1#A24BC1

#A24BC1 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.189 H 316.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A24BC1
RGBrgb(162, 75, 193)
HSLhsl(284, 49%, 53%)
HSVhsv(284, 61%, 76%)
CMYKcmyk(16.1%, 61.1%, 0%, 24.3%)
CIE-LABlab(47.71, 54.25, -46.71)
CIE-LCHlch(47.71, 71.59, 319.27°)
OKLaboklab(57.25% 0.1363 -0.1308)
OKLCHoklch(57.25% 0.189 316.2)
XYZxyz(27.0405, 16.5648, 52.2147)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BC1 #6AC14B
analogous
#674BC1 #A24BC1 #C14BA5
triadic
#A24BC1 #C1A24B #4BC1A2
tetradic
#A24BC1 #C1674B #6AC14B #4BA5C1
square
#A24BC1 #C1674B #6AC14B #4BA5C1
split-complementary
#A24BC1 #A5C14B #4BC167
monochromatic
#5A256C #7F359A #A24BC1 #BA79D1 #D1A6E0

Accessibility & contrast

On white

4.87
#A24BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A24BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BC1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BC1#FFFFFF#000000##FFFFFF
##A24BC11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC5
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#A0607F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24bc1;
/* rgb */ color: rgb(162, 75, 193);
/* oklch */ color: oklch(57.2% 0.189 316.2);
Tailwind
colors: {
  custom: {
    50: '#c182d4',
    500: '#a24bc1',
    950: '#000000',
  },
}
SCSS
$custom: #a24bc1;
$custom-light: #c182d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bc1",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 284.237,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.18887,
    "h": 316.2
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#A24BC1
secondary
#A8CE9A
accent
#D84F73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A24BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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