#A24BAD#A24BAD

#A24BAD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.169 H 323.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A24BAD
RGBrgb(162, 75, 173)
HSLhsl(293, 40%, 49%)
HSVhsv(293, 57%, 68%)
CMYKcmyk(6.4%, 56.6%, 0%, 32.2%)
CIE-LABlab(46.62, 50.26, -36.75)
CIE-LCHlch(46.62, 62.27, 323.83°)
OKLaboklab(56.1% 0.1353 -0.1018)
OKLCHoklch(56.1% 0.169 323)
XYZxyz(24.9585, 15.7319, 41.2490)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BAD #56AD4B
analogous
#714BAD #A24BAD #AD4B87
triadic
#A24BAD #ADA24B #4BADA2
tetradic
#A24BAD #AD714B #56AD4B #4B87AD
square
#A24BAD #AD714B #56AD4B #4B87AD
split-complementary
#A24BAD #87AD4B #4BAD71
monochromatic
#522658 #7A3882 #A24BAD #B973C2 #CF9ED5

Accessibility & contrast

On white

5.06
#A24BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A24BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BAD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BAD#FFFFFF#000000##FFFFFF
##A24BAD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#A45975
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a24bad;
/* rgb */ color: rgb(162, 75, 173);
/* oklch */ color: oklch(56.1% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#c082c6',
    500: '#a24bad',
    950: '#000000',
  },
}
SCSS
$custom: #a24bad;
$custom-light: #c082c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bad",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 293.265,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.1693,
    "h": 323
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#A24BAD
secondary
#98C192
accent
#CF5866
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A24BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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